ソースを参照

fix(tauri) build

Lucas Nogueira 5 年 前
コミット
6b67d06893
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tauri/src/app/runner.rs

+ 1 - 1
tauri/src/app/runner.rs

@@ -75,7 +75,7 @@ fn setup_content() -> crate::Result<Content<String>> {
         panic!("Failed to execute CheckNetIsolation LoopbackExempt -s");
       }
 
-      let output_str = String::from_utf8_lossy(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")