clean up updater logic

This commit is contained in:
AAGaming
2024-02-19 23:42:24 -05:00
parent 22b732bab4
commit 7e3f9edacf
4 changed files with 8 additions and 7 deletions
@@ -80,10 +80,9 @@ export default function UpdaterSettings() {
setIsLoaderUpdating(true);
});
const b = DeckyBackend.addEventListener('frontend/finish_download', async () => {
const b = DeckyBackend.addEventListener('frontend/finish_download', () => {
setUpdateProgress(0);
setReloading(true);
await doRestart();
});
return () => {