Prompt should appear after ensuring that the OS is supported

This commit is contained in:
user1823 2025-10-02 19:20:28 +05:30 committed by GitHub
parent 4fcafe6983
commit 0dfd6458fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)?;