Fix Windows CI and minor display tweak

This commit is contained in:
Damien Elmes 2025-06-29 13:54:17 +07:00
parent bdb3c714dc
commit b8963b463e
2 changed files with 2 additions and 1 deletions

View file

@ -160,6 +160,7 @@ fn run() -> Result<()> {
} else { } else {
// on Windows/macOS, the user needs to close the terminal/console // on Windows/macOS, the user needs to close the terminal/console
// currently, but ideas on how we can avoid this would be good! // currently, but ideas on how we can avoid this would be good!
println!();
println!("Anki will start shortly."); println!("Anki will start shortly.");
println!("\x1B[1mYou can close this window.\x1B[0m\n"); println!("\x1B[1mYou can close this window.\x1B[0m\n");
} }

View file

@ -100,7 +100,7 @@ pub fn finalize_uninstall() {
return; return;
} }
Err(e) => { Err(e) => {
println!("Failed to launch uninstaller: {}", e); println!("Failed to launch uninstaller: {e}");
println!("You can manually run: {}", path.display()); println!("You can manually run: {}", path.display());
} }
} }