Revert "fix(windows): show UAC prompt for TUN service install/uninstall (#4959)"

This reverts commit c05395c258.
This commit is contained in:
Slinetrac
2025-10-08 07:47:05 +08:00
parent f492580864
commit 10f250b7e7
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ pub fn invoke_uwptools() -> Result<()> {
let level = token.privilege_level()?;
match level {
PrivilegeLevel::NotPrivileged => RunasCommand::new(tool_path).show(true).status()?,
PrivilegeLevel::NotPrivileged => RunasCommand::new(tool_path).status()?,
_ => StdCommand::new(tool_path).status()?,
};