run_uac with wchar, refactor elevate_or_run_as_system

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-10-31 16:08:51 +08:00
parent 627ccd4c01
commit a2f1ab80da
3 changed files with 49 additions and 39 deletions

2
Cargo.lock generated
View File

@@ -2559,7 +2559,7 @@ dependencies = [
[[package]]
name = "impersonate_system"
version = "0.1.0"
source = "git+https://github.com/21pages/impersonate-system#c48f37a8fd17413b2a4ba655c3873bdc5c8d25aa"
source = "git+https://github.com/21pages/impersonate-system#84b401893d5b6628c8b33b295328d13fbbe2674b"
dependencies = [
"cc",
]