feat(registry): add privilege check and improve ProgId handling
- Add WFHasPrivilege function to check user privileges - Refactor ProgId structure to use standard format with optional version - Improve registry operations with safer key/value handling - Update dependencies to include Win32_System_Registry
This commit is contained in:
@ -8,7 +8,12 @@ license = "SPDX:MIT"
|
||||
|
||||
[dependencies]
|
||||
thiserror = { workspace = true }
|
||||
windows-sys = { version = "0.60.2", features = ["Win32_Security", "Win32_System_SystemServices", "Win32_UI_Shell"] }
|
||||
windows-sys = { version = "0.60.2", features = [
|
||||
"Win32_Security",
|
||||
"Win32_System_SystemServices",
|
||||
"Win32_UI_Shell",
|
||||
"Win32_System_Registry",
|
||||
] }
|
||||
winreg = { version = "0.55.0", features = ["transactions"] }
|
||||
indexmap = "2.11.4"
|
||||
regex = "1.11.3"
|
||||
|
||||
Reference in New Issue
Block a user