mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Remove unnecessary code in window-manager-ipcs.ts
This commit is contained in:
@@ -10,9 +10,6 @@ const autoUpdaterService = AutoUpdaterService.getInstance();
|
||||
|
||||
// Native windows control, do not pass through IPC service
|
||||
ipcMain.on("close-window", async (event) => {
|
||||
if (event.sender.getURL().includes("index.html")) {
|
||||
autoUpdaterService.setHaveBeenUpdated(false);
|
||||
}
|
||||
BrowserWindow.fromWebContents(event.sender)?.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user