diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-04-03 10:06:44 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-04-03 10:07:18 -0400 |
| commit | 3d813ea87335298be5a47de3441f410651851b71 (patch) | |
| tree | 2a53a31f665d7d41df41d3470e35c714f155d8b1 /src/components/OptiScalerControls.tsx | |
| parent | 9e45eca97948c77b3d443258419412e9914ffa46 (diff) | |
| download | Decky-Framegen-3d813ea87335298be5a47de3441f410651851b71.tar.gz Decky-Framegen-3d813ea87335298be5a47de3441f410651851b71.zip | |
feat: add Steam game picker with one-click launch option setter
Diffstat (limited to 'src/components/OptiScalerControls.tsx')
| -rw-r--r-- | src/components/OptiScalerControls.tsx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/components/OptiScalerControls.tsx b/src/components/OptiScalerControls.tsx index fb5d2f8..f88e8f9 100644 --- a/src/components/OptiScalerControls.tsx +++ b/src/components/OptiScalerControls.tsx @@ -11,6 +11,7 @@ import { InstructionCard } from "./InstructionCard"; import { OptiScalerWiki } from "./OptiScalerWiki"; import { UninstallButton } from "./UninstallButton"; import { ManualPatchControls } from "./CustomPathOverride"; +import { SteamGamePatcher } from "./SteamGamePatcher"; interface OptiScalerControlsProps { pathExists: boolean | null; @@ -91,6 +92,12 @@ export function OptiScalerControls({ pathExists, setPathExists }: OptiScalerCont </PanelSectionRow> )} + {pathExists === true && ( + <SteamGamePatcher dllName={dllName} /> + )} + + <ClipboardCommands pathExists={pathExists} dllName={dllName} /> + <ManualPatchControls isAvailable={pathExists === true} onManualModeChange={setManualModeEnabled} @@ -98,11 +105,7 @@ export function OptiScalerControls({ pathExists, setPathExists }: OptiScalerCont /> {!manualModeEnabled && ( - <> - <ClipboardCommands pathExists={pathExists} dllName={dllName} /> - - <InstructionCard pathExists={pathExists} /> - </> + <InstructionCard pathExists={pathExists} /> )} <OptiScalerWiki pathExists={pathExists} /> |
