summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-18 16:24:43 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-18 16:24:43 -0400
commit748351384705323a87f7ebc388a3ab858b9ac62f (patch)
tree6fe510f40b145d9ddfd0a074b14b5d6d8b60a1d5 /src/components
parent1d296606babfb0ceb02068e852582ade7adc4d98 (diff)
downloaddecky-lsfg-vk-748351384705323a87f7ebc388a3ab858b9ac62f.tar.gz
decky-lsfg-vk-748351384705323a87f7ebc388a3ab858b9ac62f.zip
initial env var additions
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ConfigurationSection.tsx34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index dc8da89..1748839 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -106,6 +106,40 @@ export function ConfigurationSection({
color: "white"
}}
>
+ Environment Variables
+ </div>
+ </PanelSectionRow>
+
+ <PanelSectionRow>
+ <ToggleField
+ label="Enable WOW64 for 32-bit games"
+ description="Enables PROTON_USE_WOW64=1 for 32-bit games (use with ProtonGE to fix crashing)"
+ checked={config.enable_wow64}
+ onChange={(value) => onConfigChange('enable_wow64', value)}
+ />
+ </PanelSectionRow>
+
+ <PanelSectionRow>
+ <ToggleField
+ label="Disable Steam Deck Mode"
+ description="Disables Steam Deck mode (unlocks hidden settings in some games)"
+ checked={config.disable_steamdeck_mode}
+ onChange={(value) => onConfigChange('disable_steamdeck_mode', value)}
+ />
+ </PanelSectionRow>
+
+ <PanelSectionRow>
+ <div
+ style={{
+ fontSize: "14px",
+ fontWeight: "bold",
+ marginTop: "16px",
+ marginBottom: "8px",
+ borderBottom: "1px solid rgba(255, 255, 255, 0.2)",
+ paddingBottom: "4px",
+ color: "white"
+ }}
+ >
Experimental Features
</div>
</PanelSectionRow>