only run osu updater when launcher pulled updates

This commit is contained in:
HorizonCode 2024-01-25 09:34:15 +01:00
parent 0e0676917a
commit 0567d57cb5

View File

@ -477,9 +477,9 @@ function registerIPCPipes() {
}
await new Promise((res) => setTimeout(res, 1000));
}
if (updateFiles.length > 0) {
mainWindow.webContents.send("ezpplauncher:launchstatus", {
status: "Launching osu! updater to verify...",
status: "Launching osu! updater to verify updates...",
});
await new Promise((res) => setTimeout(res, 1000));
@ -501,6 +501,7 @@ function registerIPCPipes() {
}, 500);
});
});
}
await new Promise((res) => setTimeout(res, 1000));