summarylogtreecommitdiffstats
path: root/fix-autostart-path.diff
diff options
context:
space:
mode:
authorDaniel Peukert2021-07-19 10:00:17 +0200
committerDaniel Peukert2021-07-19 10:00:17 +0200
commitfa6215e7fc22eb6405aef29d6e5c4a5f56a2d9e0 (patch)
treeddd06e1fadf030707564438a07465d9a5b26aa71 /fix-autostart-path.diff
parent6566ca686daa661f37f6c7147db64fe5d841ed53 (diff)
downloadaur-fa6215e7fc22eb6405aef29d6e5c4a5f56a2d9e0.tar.gz
Remove useless rebuild from ferdi-git
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,