App Sandboxing (OS X)
This commit is contained in:
@@ -26,14 +26,14 @@ if (process.platform === 'win32') {
|
||||
argv = argv.filter((arg) => arg.indexOf('--squirrel') === -1)
|
||||
}
|
||||
|
||||
if (!shouldQuit) {
|
||||
// Prevent multiple instances of app from running at same time. New instances signal
|
||||
// this instance and quit.
|
||||
shouldQuit = app.makeSingleInstance(onAppOpen)
|
||||
if (shouldQuit) {
|
||||
app.quit()
|
||||
}
|
||||
}
|
||||
// if (!shouldQuit) {
|
||||
// // Prevent multiple instances of app from running at same time. New instances signal
|
||||
// // this instance and quit.
|
||||
// shouldQuit = app.makeSingleInstance(onAppOpen)
|
||||
// if (shouldQuit) {
|
||||
// app.quit()
|
||||
// }
|
||||
// }
|
||||
|
||||
if (!shouldQuit) {
|
||||
init()
|
||||
|
||||
Reference in New Issue
Block a user