diff --git a/resources/tray.js b/resources/tray.js index 649f061..14867c1 100644 --- a/resources/tray.js +++ b/resources/tray.js @@ -17,7 +17,7 @@ let tray; function enhancements() { const { Tray, Menu, nativeImage, app } = require('electron'), isMac = process.platform === 'darwin', - isWin = process.platform.includes('win'), + isWin = process.platform === 'win32', path = require('path'), store = require(path.join(__dirname, '..', 'store.js'))({ config: 'user-preferences',