[V1] Fixed Tauri Cert Signing

This commit is contained in:
Youwes09
2026-02-25 20:21:05 -06:00
parent ac5e3ae53b
commit 4fca379715
2 changed files with 1 additions and 21 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ fn patch_conf_key(mut text: String, key: &str, value: &str) -> String {
let replacement = format!("{key} = {value}");
// Find a line that starts with the key (tolerant of surrounding whitespace)
if let Some(pos) = text.lines().position(|l| l.trim_start().starts_with(key)) {
let mut lines: Vec<&str> = text.lines().collect();
let lines: Vec<&str> = text.lines().collect();
// We need an owned replacement; rebuild from scratch.
let owned: Vec<String> = lines
.iter()