mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 08:13:45 +08:00
fix: type error
This commit is contained in:
parent
0ca44bd859
commit
6d5ca25e03
@ -181,7 +181,7 @@ pub fn grant_permission(core: String) -> CmdResult {
|
|||||||
return wrap_err!(manager::grant_permission(core));
|
return wrap_err!(manager::grant_permission(core));
|
||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
return Err("Unsupported target");
|
return Err("Unsupported target".into());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// get the system proxy
|
/// get the system proxy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user