fix-restart.patch 347 Bytes
Newer Older
1
k--- a/src/main-process/atom-application.js
2
+++ b/src/main-process/atom-application.js
3
@@ -2047,7 +2047,7 @@
4
   }
gnastyle's avatar
gnastyle committed
5
 
6 7 8 9 10 11
   restart() {
-    const args = [];
+    const args = ['/usr/lib/atom/atom'];
     if (this.safeMode) args.push('--safe');
     if (this.logFile != null) args.push(`--log-file=${this.logFile}`);
     if (this.userDataDir != null)