chore: update

This commit is contained in:
huzibaca
2024-09-04 07:53:16 +08:00
parent b1a22d4412
commit c07165531a
3 changed files with 19 additions and 7 deletions

View File

@@ -243,7 +243,7 @@ pub async fn resolve_scheme(param: String) -> Result<()> {
.trim_start_matches("clash://install-config?url=");
let handle = handle::Handle::global();
let app_handle = handle.app_handle.lock();
let app_handle = handle.app_handle.lock().clone();
if let Some(app_handle) = app_handle.as_ref() {
match import_profile(url.to_string(), None).await {
Ok(_) => {