diff --git a/electron/main.js b/electron/main.js index 91f90126..d1722b57 100644 --- a/electron/main.js +++ b/electron/main.js @@ -66,8 +66,9 @@ app.setAppUserModelId('com.grupovrs.ramboxce'); const appMenu = require('./menu')(config); // Configure AutoLaunch +let appLauncher; if ( !isDev ) { - const appLauncher = new AutoLaunch({ + appLauncher = new AutoLaunch({ name: 'Rambox' ,isHidden: config.get('start_minimized') });