fix(core): retain startup diagnostics until recovery

Show unresolved startup failures when the window becomes visible and clear them when either core mode starts successfully. Cover recovery followed by exit and WebView recreation, use neutral service permission wording, and document the Windows startup fix.
This commit is contained in:
wonfen
2026-09-24 18:43:28 +08:00
parent ae4f416766
commit 61c33c6113
10 changed files with 180 additions and 11 deletions
+2
View File
@@ -221,6 +221,8 @@ async fn init_core_manager() -> bool {
Ok(initialized) => initialized,
Err(error) => {
logging!(error, Type::Setup, "core manager initialization failed: {error:#}");
CoreManager::global().record_startup_error(format!("{error:#}"));
Handle::notice_message("core_start::error", "");
false
}
}