mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 00:13:44 +08:00
8 lines
213 B
Rust
8 lines
213 B
Rust
use super::CmdResult;
|
|
use crate::{core::CoreManager, wrap_err};
|
|
|
|
/// 修复系统服务
|
|
#[tauri::command]
|
|
pub async fn repair_service() -> CmdResult {
|
|
wrap_err!(CoreManager::global().repair_service().await)
|
|
}
|