Prevent --squirrel arguments from getting added as torrents
This commit is contained in:
@@ -40,6 +40,9 @@ if (process.platform === 'win32') {
|
|||||||
// Always quit when done
|
// Always quit when done
|
||||||
app.quit()
|
app.quit()
|
||||||
}
|
}
|
||||||
|
if (squirrelCmd === '--squirrel-firstrun') {
|
||||||
|
argv.shift()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prevent multiple instances of the app from running at the same time. New instances
|
// Prevent multiple instances of the app from running at the same time. New instances
|
||||||
|
|||||||
Reference in New Issue
Block a user