Update src/main.js
Some checks failed
Build Electron / Build Electron (push) Has been cancelled
Build Electron / Build Dockerfile (push) Has been cancelled

This commit is contained in:
2025-07-20 23:44:17 -04:00
parent 7596bdad6a
commit 0e626a0838

View File

@@ -53,6 +53,7 @@ async function createWindow() {
electron.ipcMain.on('electron-environment', (event) => event.returnValue = env);
win.loadURL(env.url);
win.setTitle(env.title);
win.on('closed', () => win = null);
}