summaryrefslogtreecommitdiff
path: root/src/components/LaunchOptionInfo.tsx
blob: 298c45a0299cf0b89216e35676fdd19fab1beca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { PanelSectionRow, Field } from "@decky/ui";

export function LaunchOptionInfo() {
  return (
    <PanelSectionRow>
      <Field
        bottomSeparator="none"
        label="Setup Instructions"
        description={
          <>
            <div>For each game where you want to use lsfg-vk:</div>
            <div style={{ marginTop: "8px" }}>
              1. Right-click the game in Steam → Properties<br/>
              2. Add this to Launch Options: <code>LSFG_PROCESS=decky-lsfg-vk %command%</code><br/>
              3. Or use the "Copy Launch Option" button above
            </div>
            <div style={{ marginTop: "8px", fontStyle: "italic" }}>
              This temporary solution allows hot-reloading while keeping you on the latest lsfg-vk version.
            </div>
          </>
        }
      />
    </PanelSectionRow>
  );
}