fix: Allow program run with administrator to start at startup

This commit is contained in:
MystiPanda 2024-02-20 18:35:39 +08:00
parent f235125d48
commit e212ebfdb9
No known key found for this signature in database
GPG Key ID: 47D0F0284DC57888
3 changed files with 3 additions and 4 deletions

View File

@ -32,7 +32,7 @@ index 4c6dde5..5fd9ad8 100644
-rquickjs = "0.3" # 高版本不支持 Linux aarch64 -rquickjs = "0.3" # 高版本不支持 Linux aarch64
serde_json = "1.0" serde_json = "1.0"
serde_yaml = "0.9" serde_yaml = "0.9"
auto-launch = "0.5" once_cell = "1.18"
@@ -34,6 +33,7 @@ port_scanner = "0.1.5" @@ -34,6 +33,7 @@ port_scanner = "0.1.5"
delay_timer = "0.11.5" delay_timer = "0.11.5"
parking_lot = "0.12" parking_lot = "0.12"

3
src-tauri/Cargo.lock generated
View File

@ -346,8 +346,7 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
[[package]] [[package]]
name = "auto-launch" name = "auto-launch"
version = "0.5.0" version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/zzzgydi/auto-launch?branch=main#2d94a103ca20652a3baf581ca2c296791c35c09b"
checksum = "1f012b8cc0c850f34117ec8252a44418f2e34a2cf501de89e29b241ae5f79471"
dependencies = [ dependencies = [
"dirs 4.0.0", "dirs 4.0.0",
"thiserror", "thiserror",

View File

@ -28,7 +28,6 @@ sysinfo = "0.30"
rquickjs = "0.3" # 高版本不支持 Linux aarch64 rquickjs = "0.3" # 高版本不支持 Linux aarch64
serde_json = "1.0" serde_json = "1.0"
serde_yaml = "0.9" serde_yaml = "0.9"
auto-launch = "0.5"
once_cell = "1.18" once_cell = "1.18"
port_scanner = "0.1.5" port_scanner = "0.1.5"
delay_timer = "0.11.5" delay_timer = "0.11.5"
@ -39,6 +38,7 @@ tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
reqwest = { version = "0.11", features = ["json", "rustls-tls"] } reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" } 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"] } 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] [target.'cfg(windows)'.dependencies]