From 98e449dc77640344061607d1fc3705bc55a46e87 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Sat, 13 Jul 2024 23:38:44 -0500 Subject: [PATCH] fix system update --- src/list.rs | 2 +- src/running_command.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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