feat: download retry and error surfacing (#95)

This commit is contained in:
/home/neo
2026-06-28 14:38:33 +03:00
committed by GitHub
parent 85855ac4af
commit 98f92c3173
6 changed files with 98 additions and 54 deletions
+1
View File
@@ -142,6 +142,7 @@ pub fn run() {
match game::launch_game(app_handle_clone.clone(), state, instance_id, Vec::new(), vec![]).await {
Ok(_) => app_handle_clone.exit(0),
Err(e) => {
let _ = app_handle_clone.emit("backend-error", format!("Auto-launch: {e}"));
eprintln!("Auto-launch error: {}", e);
app_handle_clone.exit(1);
}