add cmd to log
This commit is contained in:
@@ -274,7 +274,8 @@ pub fn run() {
|
||||
"--disable-interactivity".to_string(),
|
||||
]);
|
||||
|
||||
emit_log(&handle, &log_id, &display_cmd, "Starting...", "info");
|
||||
let full_command = format!("winget {}", args.join(" "));
|
||||
emit_log(&handle, &log_id, &display_cmd, &format!("Executing: {}\n---", full_command), "info");
|
||||
|
||||
let h = handle.clone();
|
||||
let current_id = task_id.clone();
|
||||
|
||||
Reference in New Issue
Block a user