fix(wuwa): fixed game launching

This commit is contained in:
Nikita Podvirnyi 2024-06-28 18:26:48 +02:00
parent 080ce25b3c
commit 95f3d36d19
No known key found for this signature in database
GPG key ID: 859D416E5142AFF3

View file

@ -108,7 +108,7 @@ pub fn run() -> anyhow::Result<()> {
windows_command += " ";
}
windows_command += "PGR.exe ";
windows_command += "Client/Binaries/Win64/Client-Win64-Shipping.exe ";
if config.game.wine.borderless {
launch_args += "-screen-fullscreen 0 -popupwindow ";
@ -253,7 +253,7 @@ pub fn run() -> anyhow::Result<()> {
let output = Command::new("ps").arg("-A").stdout(Stdio::piped()).output()?;
let output = String::from_utf8_lossy(&output.stdout);
if !output.contains("PGR.exe") {
if !output.contains("Client-Win64-Sh") {
break;
}