Skip to content

Commit

Permalink
update termux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptechgithub authored and markpash committed Apr 2, 2024
1 parent 30fc341 commit 94fc164
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 @@ -46,14 +46,14 @@ install() {
pacman -Syu openssh = apt update; apt full-upgrade -y; apt install -y openssh
check_dependencies

if wget https://github.com/bepass-org/warp-plus/releases/download/v1.1.0/warp-plus-android-arm64.cdb551.zip &&
unzip warp-plus-android-arm64.cdb551.zip &&
if wget https://github.com/bepass-org/warp-plus/releases/download/v1.1.2/warp-plus-android-arm64.30fc34.zip &&
unzip warp-plus-android-arm64.30fc34.zip &&
mv warp-plus warp &&
chmod +x warp &&
cp warp "$PREFIX/bin/usef" &&
cp warp "$PREFIX/bin/warp-plus" &&
cp warp "$PREFIX/bin/warp"; then
rm "README.md" "LICENSE" "warp-plus-android-arm64.cdb551.zip"
rm "README.md" "LICENSE" "warp-plus-android-arm64.30fc34.zip"
echo "================================================"
echo -e "${green}Warp installed successfully.${rest}"
socks
Expand Down Expand Up @@ -85,16 +85,16 @@ install_arm() {
*) echo -e "${red}Unsupported architecture.${rest}"; return ;;
esac

WARP_URL="https://github.com/bepass-org/warp-plus/releases/download/v1.1.0/warp-plus-linux-$ARCH.cdb551.zip"
WARP_URL="https://github.com/bepass-org/warp-plus/releases/download/v1.1.2/warp-plus-linux-$ARCH.30fc34.zip"

if wget "$WARP_URL" &&
unzip "warp-plus-linux-$ARCH.cdb551.zip" &&
unzip "warp-plus-linux-$ARCH.30fc34.zip" &&
mv warp-plus warp &&
chmod +x warp &&
cp warp "$PREFIX/bin/usef" &&
cp warp "$PREFIX/bin/warp-plus" &&
cp warp "$PREFIX/bin/warp"; then
rm "README.md" "LICENSE" "warp-plus-linux-$ARCH.cdb551.zip"
rm "README.md" "LICENSE" "warp-plus-linux-$ARCH.30fc34.zip"
echo -e "${blue}================================================${rest}"
echo -e "${blue}================================================${rest}"
echo -e "${green}Warp installed successfully.${rest}"
Expand Down

0 comments on commit 94fc164

Please sign in to comment.