We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02cdfdf commit f340b29Copy full SHA for f340b29
.changes/loopback-fix.md
@@ -0,0 +1,6 @@
1
+---
2
+"tauri-bundler": patch
3
+"tauri": patch
4
5
+
6
+Ignoring non UTF-8 characters on the loopback command output.
tauri/src/app/runner.rs
@@ -75,7 +75,7 @@ fn setup_content() -> crate::Result<Content<String>> {
75
panic!("Failed to execute CheckNetIsolation LoopbackExempt -s");
76
}
77
78
- let output_str = String::from_utf8(exempt_output.stdout)?.to_lowercase();
+ let output_str = String::from_utf8_lossy(exempt_output.stdout).to_lowercase();
79
if !output_str.contains("win32webviewhost_cw5n1h2txyewy") {
80
println!("Running Loopback command");
81
runas::Command::new("powershell")
0 commit comments