summaryrefslogtreecommitdiff
path: root/app-editors/atom/files/atom-fix-app-restart.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/atom/files/atom-fix-app-restart.patch')
-rw-r--r--app-editors/atom/files/atom-fix-app-restart.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-editors/atom/files/atom-fix-app-restart.patch b/app-editors/atom/files/atom-fix-app-restart.patch
new file mode 100644
index 00000000000..1bfa1ed429a
--- /dev/null
+++ b/app-editors/atom/files/atom-fix-app-restart.patch
@@ -0,0 +1,12 @@
+diff --git a/atom-application.js.orig b/atom-application.js
+index 92d985f..9a120e6 100644
+--- a/build/app/src/main-process/atom-application.js
++++ b/build/app/src/main-process/atom-application.js
+@@ -1178,6 +1178,7 @@
+ AtomApplication.prototype.restart = function() {
+ var args;
+ args = [];
++ args.push("--app=" + this.resourcePath);
+ if (this.safeMode) {
+ args.push("--safe");
+ }