feat: Migrate PowerShell calls to Rust implementation

This commit is contained in:
xkeyC
2025-12-05 10:52:03 +08:00
parent 855ea1fe8f
commit f6676ed3d8
10 changed files with 1216 additions and 56 deletions

View File

@@ -47,9 +47,17 @@ windows = { version = "0.62.2", features = [
"Win32_UI_WindowsAndMessaging",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Threading",
"Win32_Foundation"
"Win32_Foundation",
"Win32_System_SystemInformation",
"Win32_System_Registry",
"Win32_Storage_FileSystem",
"Win32_UI_Shell",
"Win32_System_Com",
"Win32_System_Ole",
"Win32_System_Variant"
] }
win32job = "2.0.3"
wmi = "0.15"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(frb_expand)'] }