From 97425f9ab5a7333bc689b248d7b45c203e37c5b7 Mon Sep 17 00:00:00 2001 From: zweicoder Date: Sat, 30 Jan 2016 12:11:29 +0800 Subject: [PATCH] Fix incorrect defaults for minimizeToTray option --- app/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main.js b/app/src/main.js index 1fb820e..7fb9f5f 100644 --- a/app/src/main.js +++ b/app/src/main.js @@ -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));