custom module: add stop() callback (runs when the server stops
This commit is contained in:
parent
c56a5bfbeb
commit
026230d8e1
6 changed files with 59 additions and 11 deletions
|
|
@ -115,9 +115,6 @@ if (process.platform === 'darwin') {
|
|||
)
|
||||
}
|
||||
|
||||
app.on('before-quit',()=>{
|
||||
process.exit()
|
||||
})
|
||||
|
||||
app.on('ready',()=>{
|
||||
var menu = Menu.buildFromTemplate(template)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue