fix: What if we just reloaded every startup, would that kill cache? (#269)

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit is contained in:
Jacob Schlecht 2026-08-05 16:36:00 -06:00 committed by GitHub
parent 703381739a
commit f79b113da1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) => {