chore: remove app.makeSingleInstance / releaseSingleInstance (#14518)

This commit is contained in:
Milan Burda 2018-09-10 08:33:36 +02:00 committed by Samuel Attard
parent f012ed8357
commit dcd580b6cf
4 changed files with 0 additions and 55 deletions

View file

@ -1,13 +0,0 @@
const {app} = require('electron')
app.once('ready', () => {
console.log('started') // ping parent
})
const shouldExit = app.makeSingleInstance(() => {
setImmediate(() => app.exit(0))
})
if (shouldExit) {
app.exit(1)
}

View file

@ -1,5 +0,0 @@
{
"name": "electron-app-singleton",
"main": "main.js"
}