From 219d0f7704e18d74a9205163ffbb7d1718291ea4 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Mon, 6 Mar 2023 21:58:58 +0200 Subject: [PATCH] 0.3.3 - fixed game launching command --- Cargo.toml | 2 +- src/game.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7c91284..dab861c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anime-launcher-sdk" -version = "0.3.2" +version = "0.3.3" authors = ["Nikita Podvirnyy "] license = "GPL-3.0" readme = "README.md" diff --git a/src/game.rs b/src/game.rs index 65a1ea9..2d53ea8 100644 --- a/src/game.rs +++ b/src/game.rs @@ -86,7 +86,7 @@ pub fn run() -> anyhow::Result<()> { bash_chain += "gamemoderun "; } - bash_chain += &format!("'{}' ", wine.files.wine64); + bash_chain += &format!("'{}' ", config.game.wine.builds.join(wine.name).join(wine.files.wine64).to_string_lossy()); if let Some(virtual_desktop) = config.game.wine.virtual_desktop.get_command() { bash_chain += &format!("{virtual_desktop} ");