summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-01-31 15:30:58 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-01-31 15:30:58 -0500
commitd23e9b7fa1c3f31cfbfbd529cfed1f1aaaedd63d (patch)
tree22ee67da5c1dfb45a42122013c03eb9c37574385 /src/components
parent70027bd3d662807e19c587d13c8061e48760a4b5 (diff)
downloadDecky-Framegen-d23e9b7fa1c3f31cfbfbd529cfed1f1aaaedd63d.tar.gz
Decky-Framegen-d23e9b7fa1c3f31cfbfbd529cfed1f1aaaedd63d.zip
chore: cleanup and harden installer pathschore/cleanup
Diffstat (limited to 'src/components')
-rw-r--r--src/components/CustomPathOverride.tsx4
-rw-r--r--src/components/InstalledGamesSection.tsx6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/CustomPathOverride.tsx b/src/components/CustomPathOverride.tsx
index ffc4b1f..3b1fb7e 100644
--- a/src/components/CustomPathOverride.tsx
+++ b/src/components/CustomPathOverride.tsx
@@ -158,7 +158,7 @@ export const ManualPatchControls = ({ isAvailable, onManualModeChange }: ManualP
if (!selectedPath) return;
const setBusy = action === "patch" ? setIsPatching : setIsUnpatching;
- setLastOperation(action);
+ setLastOperation(action);
setBusy(true);
setOperationResult(null);
@@ -300,4 +300,4 @@ export const ManualPatchControls = ({ isAvailable, onManualModeChange }: ManualP
)}
</>
);
-}; \ No newline at end of file
+};
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');
}
};