Signed-off-by: Chip Reed <chip@chip.sh>
@@ -4,7 +4,7 @@ use std::process::{Child, Command, Stdio};
use std::os::windows::process::CommandExt;
#[cfg(windows)]
-const CREATE_NO_WINDOW: u32 = 0x08000000;
+const CREATE_NO_WINDOW: u32 = 0x0800_0000;
use tauri_utils::platform;
@@ -87,7 +87,7 @@ fn setup_content() -> crate::Result<Content<String>> {
if !output_str.contains("win32webviewhost_cw5n1h2txyewy") {
println!("Running Loopback command");
runas::Command::new("powershell")
- .args(&vec![
+ .args(&[
"CheckNetIsolation LoopbackExempt -a -n=\"Microsoft.Win32WebViewHost_cw5n1h2txyewy\"",
])
.force_prompt(true)