reset loaded status when exited

This commit is contained in:
HorizonCode committed 2024-01-21 17:20:26 +01:00
1 parent 00d71704ab
commit 397c2255c1
1 file changed
+1
+1
View File
@@ -503,6 +503,7 @@ function registerIPCPipes() {
setTimeout(async () => { setTimeout(async () => {
await replaceUIFile(osuPath, true); await replaceUIFile(osuPath, true);
mainWindow.webContents.send("ezpplauncher:launchabort"); mainWindow.webContents.send("ezpplauncher:launchabort");
osuLoaded = false;
}, 5000); }, 5000);
}; };
runOsuWithDevServer(osuPath, "ez-pp.farm", onExitHook); runOsuWithDevServer(osuPath, "ez-pp.farm", onExitHook);