diff --git a/src/list.rs b/src/list.rs index 6f983b5d..f1a4ab0a 100644 --- a/src/list.rs +++ b/src/list.rs @@ -37,7 +37,7 @@ impl CustomList { } => { ListNode { name: "Full System Update", - command: "bash -c \"sudo pacman -Syu\"" + command: include_str!("commands/system-update.sh"), }, ListNode { name: "Setup Bash Prompt", diff --git a/src/running_command.rs b/src/running_command.rs index 30752da9..d48f7049 100644 --- a/src/running_command.rs +++ b/src/running_command.rs @@ -279,4 +279,4 @@ impl RunningCommand { // Send the keycodes to the virtual terminal let _ = self.writer.write_all(&input_bytes); } -} +} \ No newline at end of file