chore: update auto launch

This commit is contained in:
GyDi 2022-08-24 22:41:12 +08:00
parent c611a51575
commit db324f54eb
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084
3 changed files with 5 additions and 4 deletions

5
src-tauri/Cargo.lock generated
View File

@ -238,10 +238,11 @@ dependencies = [
[[package]] [[package]]
name = "auto-launch" name = "auto-launch"
version = "0.2.0" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f0ab475f9b1049a9d4e9c83f45ff27ec3bce4a6cb8e58e7f29030f8992af8c5" checksum = "642d13324da4df30a472026356a7fd24845d4a8038e5c47ed99c62074b526fa5"
dependencies = [ dependencies = [
"anyhow",
"dirs 4.0.0", "dirs 4.0.0",
"winreg", "winreg",
] ]

View File

@ -25,7 +25,7 @@ nanoid = "0.4.0"
chrono = "0.4.19" chrono = "0.4.19"
serde_json = "1.0" serde_json = "1.0"
serde_yaml = "0.8" serde_yaml = "0.8"
auto-launch = "0.2" auto-launch = "0.3"
port_scanner = "0.1.5" port_scanner = "0.1.5"
delay_timer = "0.11.1" delay_timer = "0.11.1"
parking_lot = "0.12.0" parking_lot = "0.12.0"

View File

@ -123,7 +123,7 @@ impl Sysopt {
let auto = AutoLaunchBuilder::new() let auto = AutoLaunchBuilder::new()
.set_app_name(app_name) .set_app_name(app_name)
.set_app_path(app_path) .set_app_path(app_path)
.build(); .build()?;
if let Some(enable) = enable { if let Some(enable) = enable {
// fix issue #26 // fix issue #26