forked from akanyan/STARTLINER
feat: autoupdate ui
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user