fix: try to fix install service

This commit is contained in:
MystiPanda
2024-07-16 11:28:04 +08:00
parent d98b3224cf
commit af0cd4a342
12 changed files with 219 additions and 103 deletions

View File

@@ -389,13 +389,13 @@ pub mod service {
}
#[tauri::command]
pub async fn install_service() -> CmdResult {
wrap_err!(service::install_service().await)
pub async fn install_service(passwd: String) -> CmdResult {
wrap_err!(service::install_service(passwd).await)
}
#[tauri::command]
pub async fn uninstall_service() -> CmdResult {
wrap_err!(service::uninstall_service().await)
pub async fn uninstall_service(passwd: String) -> CmdResult {
wrap_err!(service::uninstall_service(passwd).await)
}
}