mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 11:41:58 +00:00
clean up updater logic
This commit is contained in:
@@ -27,3 +27,7 @@ export const doUpdate = DeckyBackend.callable('updater/do_update');
|
||||
export const doRestart = DeckyBackend.callable('updater/do_restart');
|
||||
export const getVersionInfo = DeckyBackend.callable<[], VerInfo>('updater/get_version_info');
|
||||
export const checkForUpdates = DeckyBackend.callable<[], VerInfo>('updater/check_for_updates');
|
||||
|
||||
DeckyBackend.addEventListener('frontend/finish_download', async () => {
|
||||
await doRestart();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user