Fix: Close button now properly exits the application
- window:close IPC now sets isAppQuitting flag before closing - Application closes completely instead of hiding to tray - Built portable release: IP Monitor-Portable-1.0.0.exe (78MB)
This commit is contained in:
parent
0f84450205
commit
c6dbff3fdb
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -1 +0,0 @@
|
||||||
Portable Mode
|
|
||||||
Binary file not shown.
|
|
@ -211,7 +211,11 @@ function setupIpcHandlers() {
|
||||||
mainWindow?.maximize()
|
mainWindow?.maximize()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
ipcMain.on('window:close', () => mainWindow?.close())
|
ipcMain.on('window:close', () => {
|
||||||
|
// Çarpı butonuna basınca uygulamayı tamamen kapat
|
||||||
|
isAppQuitting = true
|
||||||
|
mainWindow?.close()
|
||||||
|
})
|
||||||
|
|
||||||
// IP Service
|
// IP Service
|
||||||
ipcMain.handle(IPC_CHANNELS.GET_IP_INFO, async () => {
|
ipcMain.handle(IPC_CHANNELS.GET_IP_INFO, async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue