// build.rs for ostp-tun-helper // Embeds a Windows manifest that requests Administrator privileges. // This makes Windows show a UAC prompt when the binary is double-clicked // or launched via ShellExecuteW("runas"). fn main() { #[cfg(windows)] { let mut res = winres::WindowsResource::new(); res.set_manifest(r#" "#); res.compile().expect("failed to compile Windows resources"); } }