From d23e9b7fa1c3f31cfbfbd529cfed1f1aaaedd63d Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Sat, 31 Jan 2026 15:30:58 -0500 Subject: chore: cleanup and harden installer paths --- src/components/InstalledGamesSection.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/InstalledGamesSection.tsx') diff --git a/src/components/InstalledGamesSection.tsx b/src/components/InstalledGamesSection.tsx index 71278d7..fb65e81 100644 --- a/src/components/InstalledGamesSection.tsx +++ b/src/components/InstalledGamesSection.tsx @@ -26,7 +26,7 @@ export function InstalledGamesSection() { .sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase())); setGames(sortedGames); } else if (response) { - logError('fetchGames: ' + JSON.stringify(response)); + void logError('fetchGames: ' + JSON.stringify(response)); console.error('fetchGames: ' + JSON.stringify(response)); } }; @@ -51,7 +51,7 @@ export function InstalledGamesSection() { await SteamClient.Apps.SetAppLaunchOptions(selectedGame.appid, '~/fgmod/fgmod %COMMAND%'); setResult(`✓ Frame generation enabled for ${selectedGame.name}. Launch the game, enable DLSS in graphics settings, then press Insert to access OptiScaler options.`); } catch (error) { - logError('handlePatchClick: ' + String(error)); + void logError('handlePatchClick: ' + String(error)); setResult(error instanceof Error ? `Error: ${error.message}` : 'Error enabling frame generation'); } }} @@ -66,7 +66,7 @@ export function InstalledGamesSection() { await SteamClient.Apps.SetAppLaunchOptions(selectedGame.appid, '~/fgmod/fgmod-uninstaller.sh %COMMAND%'); setResult(`✓ Frame generation will be disabled on next launch of ${selectedGame.name}.`); } catch (error) { - logError('handleUnpatchClick: ' + String(error)); + void logError('handleUnpatchClick: ' + String(error)); setResult(error instanceof Error ? `Error: ${error.message}` : 'Error disabling frame generation'); } }; -- cgit v1.2.3