We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ecbdfd commit 582fdaeCopy full SHA for 582fdae
1 file changed
src-tauri/src/lib.rs
@@ -693,9 +693,12 @@ async fn prep_launch(
693
std::fs::create_dir_all(&compat_data_dir)?;
694
}
695
696
- if !protontools::is_device_steam_deck() {
697
- // we want to let Proton set this itself on Deck
698
- cmd.env("WINEPREFIX", compat_data_dir.to_string_lossy().to_string());
+ #[cfg(target_os = "linux")]
+ {
+ if !protontools::is_device_steam_deck() {
699
+ // we want to let Proton set this itself on Deck
700
+ cmd.env("WINEPREFIX", compat_data_dir.to_string_lossy().to_string());
701
+ }
702
703
704
0 commit comments