chore: update

This commit is contained in:
huzibaca 2024-10-03 12:01:06 +08:00
parent 9a7826752f
commit 071665f0c3

View File

@ -143,7 +143,7 @@ impl Sysopt {
let shell = app_handle.shell(); let shell = app_handle.shell();
let output = if pac { let output = if pac {
let address = format!("http://{}:{}/pac", "127.0.0.1", port); let address = format!("http://{}:{}/pac", "127.0.0.1", pac_port);
let output = tauri::async_runtime::block_on(async move { let output = tauri::async_runtime::block_on(async move {
shell shell
.command(sysproxy_exe.as_path().to_str().unwrap()) .command(sysproxy_exe.as_path().to_str().unwrap())