summaryrefslogtreecommitdiff
path: root/src/components/ClipboardCommands.tsx
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-09-26 20:14:44 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-09-26 20:14:44 -0400
commit1cc6a781fe7d6c053b2eb59aa79766a859c66209 (patch)
tree0946a308568ff7a144a6cec29719334a4e6d754b /src/components/ClipboardCommands.tsx
parent7d2322e637faae5ccfab58c54f7a13e6a5f7ea88 (diff)
downloadDecky-Framegen-1cc6a781fe7d6c053b2eb59aa79766a859c66209.tar.gz
Decky-Framegen-1cc6a781fe7d6c053b2eb59aa79766a859c66209.zip
revised approach, pick dir then patch in plugin ui itself
Diffstat (limited to 'src/components/ClipboardCommands.tsx')
-rw-r--r--src/components/ClipboardCommands.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/ClipboardCommands.tsx b/src/components/ClipboardCommands.tsx
index f96b460..5a6f38f 100644
--- a/src/components/ClipboardCommands.tsx
+++ b/src/components/ClipboardCommands.tsx
@@ -1,22 +1,16 @@
import { SmartClipboardButton } from "./SmartClipboardButton";
-import type { CustomOverrideConfig } from "../types/index";
interface ClipboardCommandsProps {
pathExists: boolean | null;
- overrideConfig?: CustomOverrideConfig | null;
}
-export function ClipboardCommands({ pathExists, overrideConfig }: ClipboardCommandsProps) {
+export function ClipboardCommands({ pathExists }: ClipboardCommandsProps) {
if (pathExists !== true) return null;
- const patchCommand = overrideConfig
- ? `${overrideConfig.envAssignment} ~/fgmod/fgmod %command%`
- : "~/fgmod/fgmod %command%";
-
return (
<>
<SmartClipboardButton
- command={patchCommand}
+ command="~/fgmod/fgmod %command%"
buttonText="Copy Patch Command"
/>