1.1.2
- fixed wine features parsing
This commit is contained in:
parent
b4a03a5cd0
commit
b178f1050a
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anime-launcher-sdk"
|
name = "anime-launcher-sdk"
|
||||||
version = "1.1.1"
|
version = "1.1.2"
|
||||||
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"
|
||||||
|
|
|
@ -46,7 +46,7 @@ pub fn run() -> anyhow::Result<()> {
|
||||||
anyhow::bail!("Couldn't find wine executable");
|
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 {
|
let mut folders = Folders {
|
||||||
wine: config.game.wine.builds.join(&wine.name),
|
wine: config.game.wine.builds.join(&wine.name),
|
||||||
|
@ -79,7 +79,7 @@ pub fn run() -> anyhow::Result<()> {
|
||||||
bash_command += &run_command;
|
bash_command += &run_command;
|
||||||
bash_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 += &virtual_desktop;
|
||||||
windows_command += " ";
|
windows_command += " ";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue