Merge pull request #3 from Kuingsmile/main

fix: Downgrade runas to fix service install bug
This commit is contained in:
wonfen 2023-11-23 11:11:06 +08:00 committed by GitHub
commit 7c64d9f42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

8
src-tauri/Cargo.lock generated
View File

@ -3700,14 +3700,12 @@ checksum = "e60ef3b82994702bbe4e134d98aadca4b49ed04440148985678d415c68127666"
[[package]]
name = "runas"
version = "1.1.0"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49535b7c73aec5596ae2c44a6d8a7a8f8592e5744564c327fd4846750413d921"
checksum = "ed87390fefd18965ff20baae5aeb9913bcf82d2b59dc04c0f6d8f17f7be56ff2"
dependencies = [
"libc",
"security-framework-sys",
"cc",
"which",
"windows-sys 0.48.0",
]
[[package]]

View File

@ -44,7 +44,7 @@ wry = { version = "0.24.3" }
[target.'cfg(windows)'.dependencies]
runas = "1.1.0"
runas = "=1.0.0"
deelevate = "0.2.0"
winreg = { version = "0.50", features = ["transactions"] }
windows-sys = { version = "0.48", features = ["Win32_System_LibraryLoader", "Win32_System_SystemInformation"] }