summarylogtreecommitdiffstats
path: root/fix-autostart-path.diff
diff options
context:
space:
mode:
Diffstat (limited to 'fix-autostart-path.diff')
-rw-r--r--fix-autostart-path.diff13
1 files changed, 7 insertions, 6 deletions
diff --git a/fix-autostart-path.diff b/fix-autostart-path.diff
index 7d0c2f821b99..447a9e463c8e 100644
--- a/fix-autostart-path.diff
+++ b/fix-autostart-path.diff
@@ -1,12 +1,13 @@
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
-index 96142787..2c62c8ae 100644
+index bbb5e630..b1b35db2 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
-@@ -35,6 +35,7 @@ const mainWindow = remote.getCurrentWindow();
+@@ -30,7 +30,7 @@ const mainWindow = getCurrentWindow();
+
const defaultLocale = DEFAULT_APP_SETTINGS.locale;
+
+-const executablePath = isMac ? remoteProcess.execPath : process.execPath;
++const executablePath = '/usr/bin/ferdi';
const autoLauncher = new AutoLaunch({
name: 'Ferdi',
-+ path: '/usr/bin/ferdi',
- });
-
- const CATALINA_NOTIFICATION_HACK_KEY = '_temp_askedForCatalinaNotificationPermissions';
+ path: executablePath,