From 1cc6a781fe7d6c053b2eb59aa79766a859c66209 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Fri, 26 Sep 2025 20:14:44 -0400 Subject: revised approach, pick dir then patch in plugin ui itself --- src/components/ClipboardCommands.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/components/ClipboardCommands.tsx') 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 ( <> -- cgit v1.2.3