summaryrefslogtreecommitdiff
path: root/src/components/LaunchOptionInfo.tsx
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-18 12:00:31 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-18 12:00:31 -0400
commit48ee73dae1bdecec47ccbaf5456be8c5937cb0fd (patch)
tree487b0829755b51216df418477173dbb88e9af269 /src/components/LaunchOptionInfo.tsx
parentda113f878447e0830d414bb90b79b9a03d8cedec (diff)
downloaddecky-lsfg-vk-48ee73dae1bdecec47ccbaf5456be8c5937cb0fd.tar.gz
decky-lsfg-vk-48ee73dae1bdecec47ccbaf5456be8c5937cb0fd.zip
new profile method workaround for sudo global use
Diffstat (limited to 'src/components/LaunchOptionInfo.tsx')
-rw-r--r--src/components/LaunchOptionInfo.tsx25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/components/LaunchOptionInfo.tsx b/src/components/LaunchOptionInfo.tsx
new file mode 100644
index 0000000..298c45a
--- /dev/null
+++ b/src/components/LaunchOptionInfo.tsx
@@ -0,0 +1,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>
+ );
+}