summarylogtreecommitdiffstats
path: root/fix-restart.patch
diff options
context:
space:
mode:
authorNarrat2020-01-18 23:01:59 +0100
committerNarrat2020-01-18 23:01:59 +0100
commit8f1f8fd82adae89fb1a30bcefe287c242b80db37 (patch)
tree7adc2e67a87c2d4e567eee6575e6d4cb00c72ee4 /fix-restart.patch
parent3b159d15e8013c70e651ff90594b2af4b400ea4d (diff)
downloadaur-8f1f8fd82adae89fb1a30bcefe287c242b80db37.tar.gz
sync with community atom
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)