- fixed game launching command
This commit is contained in:
Observer KRypt0n_ 2023-03-06 21:58:58 +02:00
parent 6565e30030
commit 219d0f7704
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "anime-launcher-sdk" name = "anime-launcher-sdk"
version = "0.3.2" version = "0.3.3"
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"] authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
license = "GPL-3.0" license = "GPL-3.0"
readme = "README.md" readme = "README.md"

View file

@ -86,7 +86,7 @@ pub fn run() -> anyhow::Result<()> {
bash_chain += "gamemoderun "; 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() { if let Some(virtual_desktop) = config.game.wine.virtual_desktop.get_command() {
bash_chain += &format!("{virtual_desktop} "); bash_chain += &format!("{virtual_desktop} ");