--disable-flash-frame is no longer related to --start-in-tray

This commit is contained in:
Scott Nonnenberg 2019-10-15 14:00:10 -07:00 committed by Ken Powers
parent f876b81493
commit 62c66d65d2

View file

@ -46,8 +46,10 @@ let tray = null;
const startInTray = process.argv.some(arg => arg === '--start-in-tray');
const usingTrayIcon =
startInTray || process.argv.some(arg => arg === '--use-tray-icon');
const disableFlashFrame =
startInTray || process.argv.some(arg => arg === '--disable-flash-frame');
const disableFlashFrame = process.argv.some(
arg => arg === '--disable-flash-frame'
);
const config = require('./app/config');