更新 setup.sh

This commit is contained in:
2025-10-25 19:21:37 -07:00
parent 71426278ad
commit f3b9ebaf95

View File

@@ -38,9 +38,8 @@ for choice in $choices; do
;; ;;
4) 4)
echo "即将安装htop cbm tree ufw curl wget lsof micro git git-lfs 7z zellij build-essential ffmpeg" echo "即将安装htop cbm tree ufw curl wget lsof micro git git-lfs 7z zellij build-essential ffmpeg"
read -t 5 -p "额外安装(包名): " app
apt update -y apt update -y
apt install -y htop cbm tree ufw curl wget lsof micro git git-lfs build-essential ffmpeg $app apt install -y htop cbm tree ufw curl wget lsof micro git git-lfs build-essential ffmpeg
wget https://git.nvme.cc/adminroot/auto-update/raw/branch/main/app/zellij -O /usr/local/bin/zellij wget https://git.nvme.cc/adminroot/auto-update/raw/branch/main/app/zellij -O /usr/local/bin/zellij
wget https://git.nvme.cc/adminroot/auto-update/raw/branch/main/app/7zz -O /usr/local/bin/7z wget https://git.nvme.cc/adminroot/auto-update/raw/branch/main/app/7zz -O /usr/local/bin/7z
chmod +x /usr/local/bin/7z /usr/local/bin/zellij chmod +x /usr/local/bin/7z /usr/local/bin/zellij