Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f4fe1c6699 | |||
59f1b09337 |
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -30,7 +30,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alterware-launcher"
|
||||
version = "0.5.0"
|
||||
version = "0.5.1"
|
||||
dependencies = [
|
||||
"colored",
|
||||
"http_req",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "alterware-launcher"
|
||||
version = "0.5.0"
|
||||
version = "0.5.1"
|
||||
edition = "2021"
|
||||
build = "res/build.rs"
|
||||
|
||||
|
@ -267,6 +267,7 @@ fn launch(file_path: &PathBuf, args: &str) {
|
||||
println!("Launching {} {}", file_path.display(), args);
|
||||
std::process::Command::new(file_path)
|
||||
.args(args.trim().split(' '))
|
||||
.current_dir(file_path.parent().unwrap())
|
||||
.spawn()
|
||||
.expect("Failed to launch the game")
|
||||
.wait()
|
||||
|
Reference in New Issue
Block a user