mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 13:23:44 +08:00
fix: resolve scheme error
This commit is contained in:
parent
4a3a9bf62c
commit
523ce1dbdd
@ -240,7 +240,9 @@ pub fn save_window_size_position(app_handle: &AppHandle, save_to_file: bool) ->
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn resolve_scheme(param: String) {
|
pub async fn resolve_scheme(param: String) {
|
||||||
let url = param.trim_start_matches("clash://install-config/?url=");
|
let url = param
|
||||||
|
.trim_start_matches("clash://install-config/?url=")
|
||||||
|
.trim_start_matches("clash://install-config?url=");
|
||||||
let option = PrfOption {
|
let option = PrfOption {
|
||||||
user_agent: None,
|
user_agent: None,
|
||||||
with_proxy: Some(true),
|
with_proxy: Some(true),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user