diff options
author | 2017-10-23 16:43:39 +0200 | |
---|---|---|
committer | 2017-10-23 16:43:39 +0200 | |
commit | 01c73cb24154a4549ef864c3eb63df9556828262 (patch) | |
tree | e43d439b5c5bccd802a1d56fb83e785e5a1cf06c /src/stores | |
parent | fix linting issue (diff) | |
download | ferdium-app-01c73cb24154a4549ef864c3eb63df9556828262.tar.gz ferdium-app-01c73cb24154a4549ef864c3eb63df9556828262.tar.zst ferdium-app-01c73cb24154a4549ef864c3eb63df9556828262.zip |
disable auto-enable for auto start on macOS
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/AppStore.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 42ec25204..254e647f1 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -303,6 +303,12 @@ export default class AppStore extends Store { | |||
303 | // we need to wait until the settings request is resolved | 303 | // we need to wait until the settings request is resolved |
304 | await this.stores.settings.allSettingsRequest; | 304 | await this.stores.settings.allSettingsRequest; |
305 | 305 | ||
306 | // We don't set autostart on first launch for macOS as disabling | ||
307 | // the option is currently broken | ||
308 | // https://github.com/meetfranz/franz/issues/17 | ||
309 | // https://github.com/electron/electron/issues/10880 | ||
310 | if (process.platform === 'darwin') return; | ||
311 | |||
306 | if (!this.stores.settings.all.appStarts) { | 312 | if (!this.stores.settings.all.appStarts) { |
307 | this.actions.app.launchOnStartup({ | 313 | this.actions.app.launchOnStartup({ |
308 | enable: true, | 314 | enable: true, |