not log long scripta

This commit is contained in:
Julian Freeman
2026-03-31 17:16:18 -04:00
parent 6dde1ea9a7
commit 61caeba242

View File

@@ -228,7 +228,7 @@ pub fn list_updates(handle: &AppHandle) -> Vec<Software> {
} }
fn execute_powershell(handle: &AppHandle, log_id: &str, cmd_title: &str, script: &str) -> Vec<Software> { fn execute_powershell(handle: &AppHandle, log_id: &str, cmd_title: &str, script: &str) -> Vec<Software> {
emit_log(handle, log_id, cmd_title, &format!("Executing Script:\n{}\n---", script), "info"); emit_log(handle, log_id, cmd_title, "Fetching data from Winget...", "info");
let output = Command::new("powershell") let output = Command::new("powershell")
.args(["-NoProfile", "-Command", script]) .args(["-NoProfile", "-Command", script])