diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-12-29 23:46:47 -0500 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-12-29 23:46:47 -0500 |
| commit | 81fbd0f83f11d5074bb945f0f6d7b6508e9d32d7 (patch) | |
| tree | 903c9af9311afd82690ecf5b7577c9591cacc3cf /frontend/src/steamfixes/index.ts | |
| parent | 8810a014f3e1783c9b6c1ac2d1b83a0f5c38af10 (diff) | |
| download | decky-loader-81fbd0f83f11d5074bb945f0f6d7b6508e9d32d7.tar.gz decky-loader-81fbd0f83f11d5074bb945f0f6d7b6508e9d32d7.zip | |
Fix reloading UI on updates and restarting steam
Diffstat (limited to 'frontend/src/steamfixes/index.ts')
| -rw-r--r-- | frontend/src/steamfixes/index.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/src/steamfixes/index.ts b/frontend/src/steamfixes/index.ts new file mode 100644 index 00000000..988f3bd7 --- /dev/null +++ b/frontend/src/steamfixes/index.ts @@ -0,0 +1,12 @@ +import reloadFix from './reload'; +import restartFix from './restart'; +let fixes: Function[] = []; + +export function deinitSteamFixes() { + fixes.forEach((deinit) => deinit()); +} + +export async function initSteamFixes() { + fixes.push(reloadFix()); + fixes.push(await restartFix()); +} |
