Fix incorrect defaults for minimizeToTray option

This commit is contained in:
zweicoder 2016-01-30 12:11:29 +08:00
parent e54e108ce2
commit 97425f9ab5
1 changed files with 1 additions and 1 deletions

View File

@ -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));