summarylogtreecommitdiffstats
path: root/fix-restart.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-restart.patch')
-rw-r--r--fix-restart.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/fix-restart.patch b/fix-restart.patch
index 5f5d18def99d..c12d3346157f 100644
--- a/fix-restart.patch
+++ b/fix-restart.patch
@@ -1,11 +1,11 @@
--- a/src/main-process/atom-application.js
+++ b/src/main-process/atom-application.js
-@@ -1350,7 +1350,7 @@
+@@ -2047,7 +2047,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}`)
+ 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)