mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2025-01-03 09:29:36 +00:00
Better quit app
This commit is contained in:
parent
aa0c75e480
commit
395491d0bb
2 changed files with 5 additions and 2 deletions
|
@ -786,6 +786,9 @@ try {
|
||||||
|
|
||||||
ipcMain.handle('quit', (event: IpcMainInvokeEvent) => {
|
ipcMain.handle('quit', (event: IpcMainInvokeEvent) => {
|
||||||
isQuitting = true;
|
isQuitting = true;
|
||||||
|
tray.destroy();
|
||||||
|
win?.close();
|
||||||
|
win?.destroy();
|
||||||
app.quit();
|
app.quit();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
4
app/package-lock.json
generated
4
app/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "monerod-gui",
|
"name": "monerod-gui",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "monerod-gui",
|
"name": "monerod-gui",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"adm-zip": "^0.5.16",
|
"adm-zip": "^0.5.16",
|
||||||
"applescript": "^1.0.0",
|
"applescript": "^1.0.0",
|
||||||
|
|
Loading…
Reference in a new issue