summaryrefslogtreecommitdiff
path: root/src/components/ClipboardCommands.tsx
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-04-19 12:12:15 -0400
committerGitHub <noreply@github.com>2026-04-19 12:12:15 -0400
commit9e096ef3e8ca4564f5c77f456fea346a3f28952e (patch)
tree4e47f02b4cc62e684dc583aed0f516d33d220212 /src/components/ClipboardCommands.tsx
parent47e7e2610b44809e13bea6bad7f1345fe6f58fa3 (diff)
parent7fb070e9f46ac3cdf34f473d31b29aef83722d22 (diff)
downloadDecky-Framegen-9e096ef3e8ca4564f5c77f456fea346a3f28952e.tar.gz
Decky-Framegen-9e096ef3e8ca4564f5c77f456fea346a3f28952e.zip
Merge pull request #191 from xXJSONDeruloXx/feat/appid-patch-flow
feat: AppID-based patch/unpatch with multi-library Steam discovery and marker tracking
Diffstat (limited to 'src/components/ClipboardCommands.tsx')
-rw-r--r--src/components/ClipboardCommands.tsx20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/components/ClipboardCommands.tsx b/src/components/ClipboardCommands.tsx
index 7bbd12d..e1f6ef9 100644
--- a/src/components/ClipboardCommands.tsx
+++ b/src/components/ClipboardCommands.tsx
@@ -8,17 +8,15 @@ interface ClipboardCommandsProps {
export function ClipboardCommands({ pathExists, dllName }: ClipboardCommandsProps) {
if (pathExists !== true) return null;
- return (
- <>
- <SmartClipboardButton
- command={`DLL=${dllName} ~/fgmod/fgmod %command%`}
- buttonText="Copy Patch Command"
- />
+ const launchCmd =
+ dllName === "OptiScaler.asi"
+ ? "SteamDeck=0 %command%"
+ : `WINEDLLOVERRIDES=${dllName.replace(".dll", "")}=n,b SteamDeck=0 %command%`;
- <SmartClipboardButton
- command="~/fgmod/fgmod-uninstaller.sh %command%"
- buttonText="Copy Unpatch Command"
- />
- </>
+ return (
+ <SmartClipboardButton
+ command={launchCmd}
+ buttonText="Copy launch options"
+ />
);
}