fix(windows): recover hidden startup window

This commit is contained in:
zipg authored and GitHub committed 2026-08-28 17:16:55 +08:00
1 parent f83f707fbc
commit ef87e45cbc
4 files changed
+49 -22

No files matched your search

+2 -2
View File
@@ -170,8 +170,8 @@ fn append_startup_probe(message: impl AsRef<str>) {
startup_recovery::record(message);
}
pub(crate) fn clear_startup_probe_after_frontend_ready() {
startup_recovery::mark_frontend_ready();
pub(crate) fn clear_startup_probe_after_frontend_ready(main_window_visible: bool) {
startup_recovery::mark_frontend_ready(main_window_visible);
}
fn should_confirm_app_exit_request(target_os: &str, exit_code: Option<i32>, confirmed_exit: bool) -> bool {