update deps

This commit is contained in:
ssrlive 2024-02-25 22:20:54 +08:00
parent a52dccd827
commit 3628533c8b

View file

@ -131,8 +131,8 @@ pub async fn desktop_run_async(args: Args, shutdown_token: tokio_util::sync::Can
join_handle.await.map_err(std::io::Error::from)??;
#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))]
if setup && restore.is_some() {
tproxy_config::tproxy_remove(&restore.unwrap())?;
if setup {
tproxy_config::tproxy_remove(restore)?;
}
Ok::<(), std::io::Error>(())