diff --git a/defaults.inc b/defaults.inc index 55b47f6..13f49e3 100755 --- a/defaults.inc +++ b/defaults.inc @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/ta-proxmenu' -VERS='2026.3.10' +VERS='2026.3.12' RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index 689815c..3d82b38 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -196,11 +196,10 @@ DOWNLOAD_VIRTIO() { DETECT_CPU(){ echo - if ! command -v proxclmc &> /dev/null; then - cd /tmp - wget https://cdn.gyptazy.com/debian/proxclmc/proxclmc_1.2.0_amd64.deb - dpkg -i proxclmc_1.2.0_amd64.deb - rm -f proxclmc_1.2.0_amd64.deb + if ! command -v proxclmc &> /dev/null || [ ! -f /etc/apt/sources.list.d/gyptazy.list ]; then + curl https://git.gyptazy.com/api/packages/gyptazy/debian/repository.key -o /etc/apt/keyrings/gyptazy.asc + echo "deb [signed-by=/etc/apt/keyrings/gyptazy.asc] https://packages.gyptazy.com/api/packages/gyptazy/debian trixie main" | sudo tee -a /etc/apt/sources.list.d/gyptazy.list + apt update && apt -y install proxclmc echo fi proxclmc