mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
fix: resolve scheme error
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user