Skip to content

Commit

Permalink
Update install-*nix
Browse files Browse the repository at this point in the history
  • Loading branch information
44million authored Dec 5, 2023
1 parent 381bd22 commit 73e3ea6
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions dwn/install-*nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,7 @@ function print_red() {
echo -e "$(tput setaf 1)$1$(tput sgr0)"
}

# Function to print animated progress bar
function print_progress() {
local progress=$1
local length=20
local i
printf "["
for ((i = 0; i < length; i++)); do
if [ $((i * 100 / length)) -le $progress ]; then
printf "="
else
printf " "
fi
done
printf "] %d%%\r" "$progress"
}

# Step 1: Download the latest release file
print_progress
echo
echo "Downloading the latest release file..."
if curl -# -L -o Q.jar "http://github.com/qRX53/Q/releases/latest/download/Q.jar"; then
Expand Down

0 comments on commit 73e3ea6

Please sign in to comment.