From 40c7c1b515abf4abcecd6480afb28f27fb71d0f0 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 30 Dec 2023 21:32:23 -0500 Subject: port updater to ws, also small refactoring --- frontend/src/components/modals/filepicker/patches/library.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'frontend/src/components/modals/filepicker/patches/library.ts') 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('/'); -- cgit v1.2.3