Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/uoosef/wireguard-go
Browse files Browse the repository at this point in the history
  • Loading branch information
uoosef committed Feb 12, 2024
2 parents a0e3b7f + 305d12c commit 52f7b10
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 52f7b10

Please sign in to comment.