Hide the window until loading is done

This commit is contained in:
Lncvrt committed 2026-05-10 08:19:34 -07:00
1 parent 7103d0e3a1
commit 0f1c84c3c9
6 files changed
+14 -19

No files matched your search

+2
View File
@@ -836,6 +836,8 @@ async fn update(
let mut new_url = window.url().unwrap();
new_url.set_path("/update/updating");
window.navigate(new_url).unwrap();
let _ = window.show();
let _ = window.set_focus();
let mut downloaded = 0;