refactor: improve error handling in AppDataProvider and enhance configuration update logic in CoreManager

This commit is contained in:
xmk23333
2025-10-20 13:26:24 +08:00
parent b77cc012e1
commit 786c981fe0
5 changed files with 67 additions and 35 deletions

View File

@@ -266,10 +266,11 @@ pub fn run() {
logging!(info, Type::Setup, "执行主要设置操作...");
resolve::resolve_setup_handle();
// 异步任务启动,不等待完成
resolve::resolve_setup_async();
resolve::resolve_setup_sync();
logging!(info, Type::Setup, "初始化完成,继续执行");
logging!(info, Type::Setup, "初始化已启动,继续执行");
Ok(())
})
.invoke_handler(app_init::generate_handlers());