fix: What if we just reloaded every startup, would that kill cache?

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
Jacob Schlecht 2026-08-04 22:24:17 -06:00
parent 703381739a
commit 0287c67089
1 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,9 @@ export function createMainWindow() {
}
// load the entrypoint
mainWindow.loadURL(BUILD_URL.toString());
mainWindow
.loadURL(BUILD_URL.toString())
.then(() => mainWindow.webContents.reload());
// minimise window to tray
mainWindow.on("close", (event) => {