diff options
Diffstat (limited to 'frontend/src/components/modals/filepicker/patches/library.ts')
| -rw-r--r-- | frontend/src/components/modals/filepicker/patches/library.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/components/modals/filepicker/patches/library.ts b/frontend/src/components/modals/filepicker/patches/library.ts index d398b83d..076e78f6 100644 --- a/frontend/src/components/modals/filepicker/patches/library.ts +++ b/frontend/src/components/modals/filepicker/patches/library.ts @@ -13,9 +13,7 @@ function rePatch() { const details = window.appDetailsStore.GetAppDetails(appid); logger.debug('game details', details); // strShortcutStartDir - const file = await window.DeckyPluginLoader.openFilePicker( - details?.strShortcutStartDir.replaceAll('"', '') || '/', - ); + const file = await DeckyPluginLoader.openFilePicker(details?.strShortcutStartDir.replaceAll('"', '') || '/'); logger.debug('user selected', file); window.SteamClient.Apps.SetShortcutExe(appid, JSON.stringify(file.path)); const pathArr = file.path.split('/'); |
