From 8ca30b2fafc0160cc951353db180f65ecd4d7952 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx 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 ( - <> - + const launchCmd = + dllName === "OptiScaler.asi" + ? "SteamDeck=0 %command%" + : `WINEDLLOVERRIDES=${dllName.replace(".dll", "")}=n,b SteamDeck=0 %command%`; - - + return ( + ); } -- cgit v1.2.3