feat: autoupdate ui

This commit is contained in:
2025-04-12 10:53:06 +00:00
parent 28269c5d75
commit f3016eb029
6 changed files with 92 additions and 24 deletions

View File

@ -11,6 +11,7 @@ use tauri::AppHandle;
pub struct GlobalState {
pub remain_open: bool,
pub has_updated: bool,
}
pub struct AppData {
@ -49,7 +50,7 @@ impl AppData {
profile: profile,
pkgs: PackageStore::new(apph.clone()),
cfg,
state: GlobalState { remain_open: true },
state: GlobalState { remain_open: true, has_updated: false },
patch_set
}
}