fix: improve error handling for application handle retrieval (#3860)

* fix: improve error handling for application handle retrieval

* fix: correct argument passing for command execution and improve URL stripping logic
This commit is contained in:
Tunglies
2025-06-22 01:16:57 +08:00
committed by GitHub
parent 41fc13cfe2
commit 3d8b2cf35f
3 changed files with 17 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ use crate::{
use anyhow::Result;
use once_cell::sync::OnceCell;
use std::sync::Arc;
#[cfg(not(target_os = "windows"))]
use sysproxy::{Autoproxy, Sysproxy};
use tauri::async_runtime::Mutex as TokioMutex;
use tauri_plugin_autostart::ManagerExt;