aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-10-23 16:43:39 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-10-23 16:43:39 +0200
commit01c73cb24154a4549ef864c3eb63df9556828262 (patch)
treee43d439b5c5bccd802a1d56fb83e785e5a1cf06c /src/stores/AppStore.js
parentfix linting issue (diff)
downloadferdium-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/AppStore.js')
-rw-r--r--src/stores/AppStore.js6
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,