mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Prompt should appear after ensuring that the OS is supported
This commit is contained in:
parent
4fcafe6983
commit
0dfd6458fb
1 changed files with 2 additions and 1 deletions
|
|
@ -170,10 +170,11 @@ fn run() -> Result<()> {
|
|||
|
||||
print!("\x1B[2J\x1B[H"); // Clear screen and move cursor to top
|
||||
println!("\x1B[1m{}\x1B[0m\n", state.tr.launcher_title());
|
||||
println!("{}\n", state.tr.launcher_press_enter_to_install());
|
||||
|
||||
ensure_os_supported()?;
|
||||
|
||||
println!("{}\n", state.tr.launcher_press_enter_to_install());
|
||||
|
||||
check_versions(&mut state);
|
||||
|
||||
main_menu_loop(&state)?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue