mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
feat: Modify startup logic and install services by default
This commit is contained in:
@@ -383,16 +383,6 @@ pub mod service {
|
||||
pub async fn check_service() -> CmdResult<service::JsonResponse> {
|
||||
wrap_err!(service::check_service().await)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn install_service(passwd: String) -> CmdResult {
|
||||
wrap_err!(service::install_service(passwd).await)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn uninstall_service(passwd: String) -> CmdResult {
|
||||
wrap_err!(service::uninstall_service(passwd).await)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
|
||||
Reference in New Issue
Block a user