Prevent --squirrel arguments from getting added as torrents

This commit is contained in:
Feross Aboukhadijeh
2016-03-24 23:56:32 -07:00
parent ad09012587
commit 00e4cc1864

View File

@@ -40,6 +40,9 @@ if (process.platform === 'win32') {
// Always quit when done
app.quit()
}
if (squirrelCmd === '--squirrel-firstrun') {
argv.shift()
}
}
// Prevent multiple instances of the app from running at the same time. New instances