auto update policy

This commit is contained in:
tk103331
2023-01-05 10:39:46 +08:00
parent aa98d7dd2a
commit f646684f4d
8 changed files with 105 additions and 21 deletions

View File

@@ -44,8 +44,8 @@ pub fn reset_chat_conf() -> ChatConfJson {
}
#[command]
pub fn run_check_update(app: AppHandle) {
utils::run_check_update(app).unwrap();
pub fn run_check_update(app: AppHandle, silent: bool) {
utils::run_check_update(app, silent).unwrap();
}
#[command]