Skip to content

Commit

Permalink
update termux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptechgithub committed Feb 10, 2024
1 parent 9f90b73 commit f0c0583
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ install() {
pacman -Syu openssh = apt update; apt full-upgrade -y; apt install -y openssh
check_dependencies

if wget https://github.com/bepass-org/wireguard-go/releases/download/v0.0.16-alpha/warp-android-arm64.d950e9.zip &&
unzip warp-android-arm64.d950e9.zip &&
if wget https://github.com/bepass-org/wireguard-go/releases/download/v1.0.1-rc1-alpha/warp-android-arm64.9f90b7.zip &&
unzip warp-android-arm64.9f90b7.zip &&
chmod +x warp &&
cp warp "$PREFIX/bin/usef" &&
cp warp "$PREFIX/bin/warp"; then
rm "README.md" "LICENSE" "warp-android-arm64.d950e9.zip"
rm "README.md" "LICENSE" "warp-android-arm64.9f90b7.zip"
echo "================================================"
echo -e "${green}Warp installed successfully.${rest}"
socks
Expand Down Expand Up @@ -104,14 +104,14 @@ install_arm() {
*) echo -e "${red}Unsupported architecture.${rest}"; return ;;
esac

WARP_URL="https://github.com/bepass-org/wireguard-go/releases/download/v0.0.16-alpha/warp-linux-$ARCH.d950e9.zip"
WARP_URL="https://github.com/bepass-org/wireguard-go/releases/download/v1.0.1-rc1-alpha/warp-linux-$ARCH.9f90b7.zip"

if wget "$WARP_URL" &&
unzip "warp-linux-$ARCH.d950e9.zip" &&
unzip "warp-linux-$ARCH.9f90b7.zip" &&
chmod +x warp &&
cp warp "$PREFIX/bin/usef" &&
cp warp "$PREFIX/bin/warp"; then
rm "README.md" "LICENSE" "warp-linux-$ARCH.d950e9.zip"
rm "README.md" "LICENSE" "warp-linux-$ARCH.9f90b7.zip"
echo "================================================"
echo -e "${green}Warp installed successfully.${rest}"
socks
Expand Down

0 comments on commit f0c0583

Please sign in to comment.