diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-09-09 16:25:52 -0400 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-09-09 16:25:52 -0400 |
| commit | b5b041fdee3cdb3576cd4d1c77580f57da0b6435 (patch) | |
| tree | 2b63ccb6410868fe4f0c6f3882614d0f7a180be4 /frontend/src/components/modals/filepicker/patches/index.ts | |
| parent | 9d980618a78b41bc3262c5185df67ccf6076a296 (diff) | |
| download | decky-loader-b5b041fdee3cdb3576cd4d1c77580f57da0b6435.tar.gz decky-loader-b5b041fdee3cdb3576cd4d1c77580f57da0b6435.zip | |
add file picker, add library file picker patch, bump lib, logger tweaks
Diffstat (limited to 'frontend/src/components/modals/filepicker/patches/index.ts')
| -rw-r--r-- | frontend/src/components/modals/filepicker/patches/index.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/src/components/modals/filepicker/patches/index.ts b/frontend/src/components/modals/filepicker/patches/index.ts new file mode 100644 index 00000000..310bfbf8 --- /dev/null +++ b/frontend/src/components/modals/filepicker/patches/index.ts @@ -0,0 +1,10 @@ +import library from './library'; +let patches: Function[] = []; + +export function deinitFilepickerPatches() { + patches.forEach((unpatch) => unpatch()); +} + +export async function initFilepickerPatches() { + patches.push(await library()); +} |
