summaryrefslogtreecommitdiff
path: root/src/components/ClipboardCommands.tsx
blob: 5a6f38ff3da8333e3c9e0c21bee0f7bf7db5b5f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"
      />
    </>
  );
}