diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/ClipboardCommands.tsx | 8 |
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" /> |
