mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 22:01:59 +00:00
fix injecting twice
This commit is contained in:
@@ -14,6 +14,7 @@ declare global {
|
||||
}
|
||||
}
|
||||
(async () => {
|
||||
window.deckyHasLoaded = true;
|
||||
await sleep(1000);
|
||||
window.deckyAuthToken = await fetch('http://127.0.0.1:1337/auth/token').then((r) => r.text());
|
||||
|
||||
@@ -38,6 +39,4 @@ declare global {
|
||||
};
|
||||
|
||||
setTimeout(() => window.syncDeckyPlugins(), 5000);
|
||||
|
||||
window.deckyHasLoaded = true;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user