From 01c73cb24154a4549ef864c3eb63df9556828262 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 23 Oct 2017 16:43:39 +0200 Subject: disable auto-enable for auto start on macOS --- src/stores/AppStore.js | 6 ++++++ 1 file changed, 6 insertions(+) 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 { // we need to wait until the settings request is resolved await this.stores.settings.allSettingsRequest; + // We don't set autostart on first launch for macOS as disabling + // the option is currently broken + // https://github.com/meetfranz/franz/issues/17 + // https://github.com/electron/electron/issues/10880 + if (process.platform === 'darwin') return; + if (!this.stores.settings.all.appStarts) { this.actions.app.launchOnStartup({ enable: true, -- cgit v1.2.3-70-g09d2