summaryrefslogtreecommitdiff
blob: f984d7841be929c3d25adfdc4eab851857d8f2d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/atom-application.js.orig b/atom-application.js
index 92d985f..9a120e6 100644
--- a/src/main-process/atom-application.js
+++ b/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");
       }