fix: added small workaround for proton wine builds

This commit is contained in:
Observer KRypt0n_ 2023-04-18 16:39:27 +02:00
parent a4c8823bb3
commit ad6825d520
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -248,7 +248,12 @@ impl Version {
if let Ok(Some(features)) = self.features(components) { if let Ok(Some(features)) = self.features(components) {
if let Some(Bundle::Proton) = features.bundle { 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);
} }
} }