Prevent --squirrel arguments from getting added as torrents
This commit is contained in:
parent
ad09012587
commit
00e4cc1864
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue