mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
fix plugin loading after install, move updater reloads to loader
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { sleep } from 'decky-frontend-lib';
|
||||
|
||||
export enum Branches {
|
||||
Release,
|
||||
Prerelease,
|
||||
@@ -46,6 +44,4 @@ export async function callUpdaterMethod(methodName: string, args = {}) {
|
||||
|
||||
export async function finishUpdate() {
|
||||
callUpdaterMethod('do_restart');
|
||||
await sleep(3000);
|
||||
location.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user