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
+5
View File
@@ -114,6 +114,11 @@ pub fn take_service_fallback_notice() -> bool {
crate::core::service::take_service_fallback_notice()
}
#[tauri::command]
pub fn get_core_startup_error() -> Option<String> {
crate::core::CoreManager::global().get_startup_error()
}
#[tauri::command]
pub fn take_service_repair_notice() -> bool {
crate::core::service::take_service_repair_notice()