summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-04-03 09:55:41 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-04-03 09:55:41 -0400
commit089c858feb1b6f4756bc241b14edcb2ad55dc0a0 (patch)
treef1315271bda7bf1bd8bda0b7d39b7cf61e6c4aa5 /src
parent51793b3b54ff771685b25ca0b67b7bb24df95aad (diff)
downloadDecky-Framegen-089c858feb1b6f4756bc241b14edcb2ad55dc0a0.tar.gz
Decky-Framegen-089c858feb1b6f4756bc241b14edcb2ad55dc0a0.zip
fix: always emit DLL=<name> in patch command, even for default dxgi.dll
Diffstat (limited to 'src')
-rw-r--r--src/components/ClipboardCommands.tsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/components/ClipboardCommands.tsx b/src/components/ClipboardCommands.tsx
index b8cf6bf..7bbd12d 100644
--- a/src/components/ClipboardCommands.tsx
+++ b/src/components/ClipboardCommands.tsx
@@ -1,5 +1,4 @@
import { SmartClipboardButton } from "./SmartClipboardButton";
-import { DEFAULT_PROXY_DLL } from "../utils/constants";
interface ClipboardCommandsProps {
pathExists: boolean | null;
@@ -9,15 +8,10 @@ interface ClipboardCommandsProps {
export function ClipboardCommands({ pathExists, dllName }: ClipboardCommandsProps) {
if (pathExists !== true) return null;
- const launchCommand =
- dllName === DEFAULT_PROXY_DLL
- ? "~/fgmod/fgmod %command%"
- : `DLL=${dllName} ~/fgmod/fgmod %command%`;
-
return (
<>
<SmartClipboardButton
- command={launchCommand}
+ command={`DLL=${dllName} ~/fgmod/fgmod %command%`}
buttonText="Copy Patch Command"
/>