fix: process-name window labels, ghost window filtering, self-restart after setup
This commit is contained in:
parent
0b4a6de8ae
commit
450604bbbd
2 changed files with 134 additions and 15 deletions
|
|
@ -258,7 +258,14 @@ async fn main() {
|
|||
} else {
|
||||
display::info_line("✅", "config:", "saved");
|
||||
}
|
||||
c
|
||||
// Self-restart after first-time setup so all config takes effect cleanly
|
||||
println!();
|
||||
display::info_line("🔄", "restart:", "Config saved. Restarting...");
|
||||
release_instance_lock();
|
||||
let exe = std::env::current_exe().expect("Failed to get current exe path");
|
||||
let args: Vec<String> = std::env::args().skip(1).collect();
|
||||
let _ = std::process::Command::new(exe).args(&args).spawn();
|
||||
std::process::exit(0);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue