summarylogtreecommitdiffstats
path: root/fix-restart.patch
blob: 5f5d18def99d96ff3ab68752e6c14c2d07d29d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/main-process/atom-application.js
+++ b/src/main-process/atom-application.js
@@ -1350,7 +1350,7 @@
   }
 
   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.socketPath != null) args.push(`--socket-path=${this.socketPath}`)