aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index d8107e8..ab15039 100644
--- a/src/index.js
+++ b/src/index.js
@@ -128,4 +128,9 @@ if (cli.hasArgs()) {
app.on("ready", () => {
start();
})
+
+ app.on('second-instance', (event, commandLine, workingDirectory, additionalData) => {
+ protocol(commandLine);
+ })
+
}