Files
navi/scripts/fetch-ios-cores.sh
T
M4andCursor 7ceb3a5148
ci / test (macos-latest) (push) Waiting to run
ci / test (ubuntu-latest) (push) Waiting to run
ci / test (windows-latest) (push) Waiting to run
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>
2026-08-01 22:46:32 +03:00

34 lines
1.0 KiB
Bash
Executable File

#!/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