From 8ca30b2fafc0160cc951353db180f65ecd4d7952 Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Mon, 13 Apr 2026 21:05:54 -0400
Subject: feat: appid-based patch/unpatch with multi-library discovery and
 marker tracking

---
 src/components/ClipboardCommands.tsx | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

(limited to 'src/components/ClipboardCommands.tsx')

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"
+    />
   );
 }
-- 
cgit v1.2.3

