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:
alper 2025-12-01 01:05:18 +03:00
parent 0f84450205
commit c6dbff3fdb
5 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
Portable Mode

View File

@ -211,7 +211,11 @@ function setupIpcHandlers() {
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
ipcMain.handle(IPC_CHANNELS.GET_IP_INFO, async () => {