dev-prepare #2

Merged
purp1e merged 42 commits from dev-prepare into master 2025-03-24 02:16:40 +08:00
Showing only changes of commit edc0c936b0 - Show all commits

View File

@@ -7,6 +7,7 @@ const CREATE_NO_WINDOW: u32 = 0x08000000;
pub fn kill(name: &str) -> String {
Command::new("taskkill")
.args(&["/IM", name, "/F"])
.creation_flags(CREATE_NO_WINDOW)
.output()
.unwrap();
@@ -16,6 +17,7 @@ pub fn kill(name: &str) -> String {
pub fn run_steam() -> std::io::Result<std::process::Output> {
Command::new("cmd")
.args(&["/C", "start", "steam://run"])
.creation_flags(CREATE_NO_WINDOW)
.output()
}