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:
parent
703381739a
commit
f79b113da1
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue