mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(tauri) addition to the previous commit
This commit is contained in:
6
.changes/loopback-fix.md
Normal file
6
.changes/loopback-fix.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Ignoring non UTF-8 characters on the loopback command output.
|
||||
@@ -75,7 +75,7 @@ fn setup_content() -> crate::Result<Content<String>> {
|
||||
panic!("Failed to execute CheckNetIsolation LoopbackExempt -s");
|
||||
}
|
||||
|
||||
let output_str = String::from_utf8(exempt_output.stdout)?.to_lowercase();
|
||||
let output_str = String::from_utf8_lossy(exempt_output.stdout).to_lowercase();
|
||||
if !output_str.contains("win32webviewhost_cw5n1h2txyewy") {
|
||||
println!("Running Loopback command");
|
||||
runas::Command::new("powershell")
|
||||
|
||||
Reference in New Issue
Block a user