mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
Merge branch 'main' into dev
This commit is contained in:
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user