feat: add logging for ClashVergeRev version in async setup

This commit is contained in:
Tunglies
2025-09-20 23:24:43 +08:00
parent 2366530622
commit 94ec25c193
2 changed files with 9 additions and 0 deletions

View File

@@ -42,6 +42,13 @@ pub fn resolve_setup_async() {
AsyncHandler::spawn(|| async {
#[cfg(not(feature = "tauri-dev"))]
resolve_setup_logger().await;
logging!(
info,
Type::ClashVergeRev,
true,
"Version: {}",
env!("CARGO_PKG_VERSION")
);
init_service_manager().await;
futures::join!(