Browse Source

Merge pull request #449 from YesThatAllen/yesthatallen-update-auto-login

[Fix] sets a mac-friendly name for auto-launch
pull/591/head
Ramiro Saenz 8 years ago committed by GitHub
parent
commit
db87324a47
  1. 2
      electron/main.js

2
electron/main.js

@ -43,7 +43,7 @@ const config = new Config({
// Configure AutoLaunch // Configure AutoLaunch
const appLauncher = new AutoLaunch({ const appLauncher = new AutoLaunch({
name: 'Rambox' name: 'Rambox.app'
,isHiddenOnLaunch: config.get('start_minimized') ,isHiddenOnLaunch: config.get('start_minimized')
}); });
config.get('auto_launch') && !isDev ? appLauncher.enable() : appLauncher.disable(); config.get('auto_launch') && !isDev ? appLauncher.enable() : appLauncher.disable();

Loading…
Cancel
Save