refactor elevate on macOS
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
5f0f4957b9
commit
9ecf0e3f89
2 changed files with 20 additions and 22 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue