mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 10:38: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',
|
label: 'Minimize to Tray',
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
checked: appArgs.minimizeToTray || true,
|
checked: appArgs.minimizeToTray || false,
|
||||||
click: function (menuItem) {
|
click: function (menuItem) {
|
||||||
appArgs.minimizeToTray = menuItem.checked;
|
appArgs.minimizeToTray = menuItem.checked;
|
||||||
fs.writeFileSync(APP_ARGS_FILE_PATH, JSON.stringify(appArgs));
|
fs.writeFileSync(APP_ARGS_FILE_PATH, JSON.stringify(appArgs));
|
||||||
|
Loading…
Reference in New Issue
Block a user