diff --git a/Cargo.toml b/Cargo.toml index a010078..101e9f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anime-launcher-sdk" -version = "0.2.4" +version = "0.2.5" authors = ["Nikita Podvirnyy "] license = "GPL-3.0" readme = "README.md" diff --git a/src/game.rs b/src/game.rs index f03b858..92d7961 100644 --- a/src/game.rs +++ b/src/game.rs @@ -146,7 +146,7 @@ pub fn run() -> anyhow::Result<()> { let variables = command .get_envs() - .map(|(key, value)| format!("{:?}=\"{:?}\"", key.to_string_lossy(), value.unwrap_or_default().to_string_lossy())) + .map(|(key, value)| format!("{}=\"{}\"", key.to_string_lossy(), value.unwrap_or_default().to_string_lossy())) .fold(String::new(), |acc, env| acc + " " + &env); tracing::info!("Running the game with command: {variables} bash -c \"{bash_chain}\"");