Release 3.8.2.13: iOS Packet Tunnel client and Clash URL subscriptions.
Add SwiftUI + Network Extension (LibXray/hev), parse Clash Meta YAML from subscription URLs into vless/trojan/hy2 share links, keep the selected server on connect, and ship Navis-3.8.2.13.ipa with versioned changelog. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Executable
+33
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
# Fetch prebuilt LibXray + HevSocks5Tunnel into ios/Vendor.
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
VENDOR="$ROOT/ios/Vendor"
|
||||
mkdir -p "$VENDOR"
|
||||
cd "$VENDOR"
|
||||
|
||||
LIBXRAY_VER="${NAVIS_LIBXRAY_VERSION:-26.7.28}"
|
||||
HEV_VER="${NAVIS_HEV_VERSION:-2.10.0}"
|
||||
|
||||
if [[ ! -d LibXray.xcframework ]]; then
|
||||
echo "==> LibXray $LIBXRAY_VER"
|
||||
curl -fsSL -o LibXray.xcframework.zip \
|
||||
"https://github.com/wanliyunyan/LibXray/releases/download/${LIBXRAY_VER}/LibXray.xcframework.zip"
|
||||
unzip -qo LibXray.xcframework.zip
|
||||
rm -f LibXray.xcframework.zip
|
||||
else
|
||||
echo "LibXray.xcframework present"
|
||||
fi
|
||||
|
||||
if [[ ! -d HevSocks5Tunnel.xcframework ]]; then
|
||||
echo "==> HevSocks5Tunnel $HEV_VER"
|
||||
curl -fsSL -o HevSocks5Tunnel.xcframework.zip \
|
||||
"https://github.com/wanliyunyan/HevSocks5Tunnel/releases/download/${HEV_VER}/HevSocks5Tunnel.xcframework.zip"
|
||||
unzip -qo HevSocks5Tunnel.xcframework.zip
|
||||
rm -f HevSocks5Tunnel.xcframework.zip
|
||||
else
|
||||
echo "HevSocks5Tunnel.xcframework present"
|
||||
fi
|
||||
|
||||
echo "Vendor ready:"
|
||||
ls -d *.xcframework
|
||||
Reference in New Issue
Block a user