diff --git a/src/app.js b/src/app.js index 2357d8f1..1c64cf1e 100644 --- a/src/app.js +++ b/src/app.js @@ -16,7 +16,7 @@ if (platform.isWindows) { } // Run as menu bar app -if (settings.asMenuBarApp) { +if (settings.asMenuBarAppOSX) { win.setShowInTaskbar(false); menus.loadTrayIcon(win); } diff --git a/src/components/menus.js b/src/components/menus.js index e5f595ca..f1f9a1e7 100644 --- a/src/components/menus.js +++ b/src/components/menus.js @@ -35,10 +35,10 @@ module.exports = { }, { type: 'checkbox', label: 'Run as Menu Bar App', - setting: 'asMenuBarApp', + setting: 'asMenuBarAppOSX', platforms: ['osx'], click: function() { - settings.asMenuBarApp = this.checked; + settings.asMenuBarAppOSX = this.checked; win.setShowInTaskbar(!this.checked); if (this.checked) { diff --git a/src/components/settings.js b/src/components/settings.js index 27375969..b4a7e1d7 100644 --- a/src/components/settings.js +++ b/src/components/settings.js @@ -6,7 +6,7 @@ var DEFAULT_SETTINGS = { launchOnStartup: false, openLinksInBrowser: true, autoHideSidebar: false, - asMenuBarApp: false, + asMenuBarAppOSX: false, windowState: {}, theme: 'default' };