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

+1
View File
@@ -18,6 +18,7 @@
"core:window:allow-start-dragging",
"core:window:allow-toggle-maximize",
"core:window:allow-request-user-attention",
"core:window:allow-show",
"core:webview:allow-create-webview-window",
"fs:default",
"fs:allow-remove",
+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;
+2 -1
View File
@@ -17,7 +17,8 @@
"width": 1000,
"height": 600,
"minWidth": 1000,
"minHeight": 500
"minHeight": 500,
"visible": false
}
],
"security": {
+1
View File
@@ -19,6 +19,7 @@
"height": 600,
"minWidth": 1000,
"minHeight": 500,
"visible": false,
"titleBarStyle": "Overlay",
"hiddenTitle": true
}
+1
View File
@@ -19,6 +19,7 @@
"height": 632,
"minWidth": 1000,
"minHeight": 532,
"visible": false,
"decorations": false,
"shadow": true
}