From ad6825d5205a11da9b85d91030043dfca4a9eff4 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Tue, 18 Apr 2023 16:39:27 +0200 Subject: [PATCH] fix: added small workaround for proton wine builds --- src/components/wine.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/wine.rs b/src/components/wine.rs index fdb948c..d0a1c9b 100644 --- a/src/components/wine.rs +++ b/src/components/wine.rs @@ -248,7 +248,12 @@ impl Version { if let Ok(Some(features)) = self.features(components) { if let Some(Bundle::Proton) = features.bundle { - return WincompatlibWine::Proton(Proton::new(wine_folder, None)); + let mut proton = Proton::new(wine_folder, None); + + // Small workaround. Most of stuff will work with just this + proton.steam_client_path = Some(PathBuf::from("")); + + return WincompatlibWine::Proton(proton); } }