Merge branch 'main' into dev

This commit is contained in:
lencx
2023-01-05 12:38:58 +08:00
10 changed files with 197 additions and 103 deletions

View File

@@ -95,10 +95,10 @@ pub fn init(app: &mut App) -> std::result::Result<(), Box<dyn std::error::Error>
.unwrap();
});
}
// auto_check_update
if chat_conf.auto_check_update {
// auto_update
if chat_conf.auto_update != "Disable" {
let app = app.handle();
utils::run_check_update(app).unwrap();
utils::run_check_update(app, chat_conf.auto_update == "Silent").unwrap();
}
Ok(())