updated wallust.sh

This commit is contained in:
JaKooLit
2025-03-02 02:38:10 +09:00
parent f97c37b7b7
commit f2081836d3
2 changed files with 30 additions and 8 deletions

View File

@@ -77,6 +77,16 @@ build_dep() {
show_progress $PID "$1"
}
# Function for cargo install with a progress bar
cargo_install() {
echo -e "${INFO} installing ${MAGENTA}$1${RESET} using cargo..."
(
stdbuf -oL cargo install "$1" 2>&1
) >> "$LOG" 2>&1 &
PID=$!
show_progress $PID "$1"
}
# Function for re-installing packages with a progress bar
re_install_package() {
(