diff options
| author | AAGaming <aa@mail.catvibers.me> | 2023-01-07 20:33:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-07 17:33:28 -0800 |
| commit | b72b32761058767d143e9ff08dc238c5ac9b777c (patch) | |
| tree | ab3cb1d855a20c37355f1b0c650647cd733a1d5d /frontend/src/steamfixes/index.ts | |
| parent | b8fdff80933b0164096c94358ab8123722906e0d (diff) | |
| download | decky-loader-b72b32761058767d143e9ff08dc238c5ac9b777c.tar.gz decky-loader-b72b32761058767d143e9ff08dc238c5ac9b777c.zip | |
Fix reloading UI on updates and restarting steam (#303)v2.4.9-pre1
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()); +} |
