diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-07-29 07:53:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 10:53:45 -0400 |
| commit | 0b5e71fe916e92ef9ecf7de91ca43371c4bd6d25 (patch) | |
| tree | 30793600da162d9d8fcc63cddeebb1e5a0b058cb /src/components/ClipboardCommands.tsx | |
| parent | 526e4e590bb0125f7f7a08e214986afec73e7439 (diff) | |
| download | Decky-Framegen-0b5e71fe916e92ef9ecf7de91ca43371c4bd6d25.tar.gz Decky-Framegen-0b5e71fe916e92ef9ecf7de91ca43371c4bd6d25.zip | |
wording and layout tweaks (#125)v0.11.8
* wording and layout tweaks
* red in remove button
* reorganize frontend components
* fix ld preload permissions issue for decky 3.1.10
* bump ver
Diffstat (limited to 'src/components/ClipboardCommands.tsx')
| -rw-r--r-- | src/components/ClipboardCommands.tsx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/ClipboardCommands.tsx b/src/components/ClipboardCommands.tsx new file mode 100644 index 0000000..5a6f38f --- /dev/null +++ b/src/components/ClipboardCommands.tsx @@ -0,0 +1,23 @@ +import { SmartClipboardButton } from "./SmartClipboardButton"; + +interface ClipboardCommandsProps { + pathExists: boolean | null; +} + +export function ClipboardCommands({ pathExists }: ClipboardCommandsProps) { + if (pathExists !== true) return null; + + return ( + <> + <SmartClipboardButton + command="~/fgmod/fgmod %command%" + buttonText="Copy Patch Command" + /> + + <SmartClipboardButton + command="~/fgmod/fgmod-uninstaller.sh %command%" + buttonText="Copy Unpatch Command" + /> + </> + ); +} |
