Skip to content

Commit

Permalink
Merge pull request #13 from Ptechgithub/master
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
uoosef authored Feb 11, 2024
2 parents 4acdf2b + 81b0f77 commit 305d12c
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/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/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 305d12c

Please sign in to comment.