Skip to content

Commit 0ba34a0

Browse files
authored
Update main.js
1 parent 94c9b49 commit 0ba34a0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

main.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,14 @@ const template = [
190190
},
191191
},
192192
{ type: 'separator' },
193-
{ role: 'quit' },
193+
//{ role: 'quit' },
194+
{
195+
label: 'Quit',
196+
click: () => {
197+
kill(serverProcess); // just making sure shutdown api is called
198+
app.quit(); // close the application
199+
},
200+
},
194201
],
195202
},
196203
// {

0 commit comments

Comments
 (0)