feat: Modify startup logic and install services by default

This commit is contained in:
huzibaca
2024-10-10 00:34:36 +08:00
parent 30c77b891d
commit 3f3fad0db7
12 changed files with 126 additions and 436 deletions

View File

@@ -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))]