mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix transient console pop-ups on Windows
This commit is contained in:
parent
66f34da7ef
commit
349a696f93
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,6 @@ fn run() -> Result<()> {
|
|||
previous_version: None,
|
||||
};
|
||||
|
||||
check_versions(&mut state);
|
||||
|
||||
// Check for uninstall request from Windows uninstaller
|
||||
if std::env::var("ANKI_LAUNCHER_UNINSTALL").is_ok() {
|
||||
ensure_terminal_shown()?;
|
||||
|
@ -145,6 +143,8 @@ fn run() -> Result<()> {
|
|||
print!("\x1B[2J\x1B[H"); // Clear screen and move cursor to top
|
||||
println!("\x1B[1mAnki Launcher\x1B[0m\n");
|
||||
|
||||
check_versions(&mut state);
|
||||
|
||||
main_menu_loop(&state)?;
|
||||
|
||||
// Write marker file to indicate we've completed the sync process
|
||||
|
|
Loading…
Reference in a new issue