custom module: add stop() callback (runs when the server stops

This commit is contained in:
jean-emmanuel 2024-07-15 11:03:07 +02:00
parent c56a5bfbeb
commit 026230d8e1
6 changed files with 59 additions and 11 deletions

View file

@ -115,9 +115,6 @@ if (process.platform === 'darwin') {
)
}
app.on('before-quit',()=>{
process.exit()
})
app.on('ready',()=>{
var menu = Menu.buildFromTemplate(template)