gtk/atom/fix-restart.patch

11 lines
354 B
Diff
Raw Normal View History

2017-05-26 00:00:05 +08:00
--- a/src/main-process/atom-application.coffee
+++ b/src/main-process/atom-application.coffee
@@ -821,7 +821,7 @@
@restart()
restart: ->
- args = []
+ args = ["--app=/usr/lib/atom"]
args.push("--safe") if @safeMode
args.push("--log-file=#{@logFile}") if @logFile?
args.push("--socket-path=#{@socketPath}") if @socketPath?