mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Fix incorrect defaults for minimizeToTray option
This commit is contained in:
parent
e54e108ce2
commit
97425f9ab5
@ -90,7 +90,7 @@ app.on('ready', () => {
|
||||
{
|
||||
label: 'Minimize to Tray',
|
||||
type: 'checkbox',
|
||||
checked: appArgs.minimizeToTray || true,
|
||||
checked: appArgs.minimizeToTray || false,
|
||||
click: function (menuItem) {
|
||||
appArgs.minimizeToTray = menuItem.checked;
|
||||
fs.writeFileSync(APP_ARGS_FILE_PATH, JSON.stringify(appArgs));
|
||||
|
Loading…
Reference in New Issue
Block a user