1.0.4
- fixed game running issue if you have spaces in paths
This commit is contained in:
parent
fdef611ea9
commit
5d4e541db4
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anime-launcher-sdk"
|
name = "anime-launcher-sdk"
|
||||||
version = "1.0.3"
|
version = "1.0.4"
|
||||||
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"
|
||||||
|
|
|
@ -133,7 +133,7 @@ pub fn run() -> anyhow::Result<()> {
|
||||||
|
|
||||||
let run_command = features.command
|
let run_command = features.command
|
||||||
.map(|command| replace_keywords(command, &folders))
|
.map(|command| replace_keywords(command, &folders))
|
||||||
.unwrap_or(folders.wine.join(wine.files.wine64.unwrap_or(wine.files.wine)).to_string_lossy().to_string());
|
.unwrap_or(format!("'{}'", folders.wine.join(wine.files.wine64.unwrap_or(wine.files.wine)).to_string_lossy()));
|
||||||
|
|
||||||
bash_command += &run_command;
|
bash_command += &run_command;
|
||||||
bash_command += " ";
|
bash_command += " ";
|
||||||
|
|
|
@ -73,7 +73,7 @@ pub fn run() -> anyhow::Result<()> {
|
||||||
|
|
||||||
let run_command = features.command
|
let run_command = features.command
|
||||||
.map(|command| replace_keywords(command, &folders))
|
.map(|command| replace_keywords(command, &folders))
|
||||||
.unwrap_or(folders.wine.join(wine.files.wine64.unwrap_or(wine.files.wine)).to_string_lossy().to_string());
|
.unwrap_or(format!("'{}'", folders.wine.join(wine.files.wine64.unwrap_or(wine.files.wine)).to_string_lossy()));
|
||||||
|
|
||||||
bash_command += &run_command;
|
bash_command += &run_command;
|
||||||
bash_command += " ";
|
bash_command += " ";
|
||||||
|
|
Loading…
Reference in a new issue