- fixed wine features parsing
This commit is contained in:
Observer KRypt0n_ 2023-04-25 18:30:02 +02:00
parent b4a03a5cd0
commit b178f1050a
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -46,7 +46,7 @@ pub fn run() -> anyhow::Result<()> {
anyhow::bail!("Couldn't find wine executable");
};
let features = wine.features(&game_path)?.unwrap_or_default();
let features = wine.features(&config.components.path)?.unwrap_or_default();
let mut folders = Folders {
wine: config.game.wine.builds.join(&wine.name),
@ -79,7 +79,7 @@ pub fn run() -> anyhow::Result<()> {
bash_command += &run_command;
bash_command += " ";
if let Some(virtual_desktop) = config.game.wine.virtual_desktop.get_command("an_anime_game") {
if let Some(virtual_desktop) = config.game.wine.virtual_desktop.get_command("star_rail") {
windows_command += &virtual_desktop;
windows_command += " ";
}