refactor elevate on macOS

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-05-15 21:26:25 +08:00
Unverified
parent 5f0f4957b9
commit 9ecf0e3f89
2 changed files with 20 additions and 22 deletions

View File

@@ -173,7 +173,7 @@ fn elevate_install(
crate::platform::elevate(&args)
}
#[cfg(any(target_os = "linux", target_os = "macos"))]
#[cfg(target_os = "linux")]
fn elevate_install(
plugin_id: &str,
plugin_url: &str,