diff --git a/patches/support-windows-aarch64.patch b/patches/support-windows-aarch64.patch index 045990a2..71728c5c 100644 --- a/patches/support-windows-aarch64.patch +++ b/patches/support-windows-aarch64.patch @@ -32,7 +32,7 @@ index 4c6dde5..5fd9ad8 100644 -rquickjs = "0.3" # 高版本不支持 Linux aarch64 serde_json = "1.0" serde_yaml = "0.9" - auto-launch = "0.5" + once_cell = "1.18" @@ -34,6 +33,7 @@ port_scanner = "0.1.5" delay_timer = "0.11.5" parking_lot = "0.12" diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index e3799e93..a4d8163f 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -346,8 +346,7 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "auto-launch" version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f012b8cc0c850f34117ec8252a44418f2e34a2cf501de89e29b241ae5f79471" +source = "git+https://github.com/zzzgydi/auto-launch?branch=main#2d94a103ca20652a3baf581ca2c296791c35c09b" dependencies = [ "dirs 4.0.0", "thiserror", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 3a4ff46a..2f1a3bec 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -28,7 +28,6 @@ sysinfo = "0.30" rquickjs = "0.3" # 高版本不支持 Linux aarch64 serde_json = "1.0" serde_yaml = "0.9" -auto-launch = "0.5" once_cell = "1.18" port_scanner = "0.1.5" delay_timer = "0.11.5" @@ -39,6 +38,7 @@ tokio = { version = "1", features = ["full"] } serde = { version = "1.0", features = ["derive"] } reqwest = { version = "0.11", features = ["json", "rustls-tls"] } sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" } +auto-launch = { git="https://github.com/zzzgydi/auto-launch", branch = "main" } tauri = { version = "1.5", features = [ "dialog-open", "notification-all", "icon-png", "clipboard-all", "global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] } [target.'cfg(windows)'.dependencies]