mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:03:45 +08:00
fix: resolve scheme error
This commit is contained in:
parent
ba42b2e77d
commit
6702ac957b
@ -240,7 +240,9 @@ pub fn save_window_size_position(app_handle: &AppHandle, save_to_file: bool) ->
|
||||
}
|
||||
|
||||
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 {
|
||||
user_agent: None,
|
||||
with_proxy: Some(true),
|
||||
|
Loading…
x
Reference in New Issue
Block a user