gtk/atom/fix-restart.patch
2018-03-29 03:23:13 +01:00

12 lines
388 B
Diff

--- a/src/main-process/atom-application.js
+++ b/src/main-process/atom-application.js
@@ -1339,7 +1339,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}`)