refactor: replace shell command check with WinAPI call

This commit is contained in:
wonfen
2025-06-22 18:45:38 +08:00
parent e7461fccab
commit f6b5524e0e
2 changed files with 137 additions and 83 deletions

View File

@@ -94,6 +94,8 @@ winapi = { version = "0.3.9", features = [
"errhandlingapi",
"minwindef",
"winerror",
"tlhelp32",
"processthreadsapi",
] }
[target.'cfg(target_os = "linux")'.dependencies]