- Lab app: proxy panel, node editor, configuration and detail pages, responsive layout, and related tests - Add meshport-socks crate and sing-box bridge scripts/docs - Add singbox_flutter binding and meshport_client_core package - FFI, VPN helper (unified mac path), and Android/macOS runner updates - Docs for architecture, client runtime, UI design, and validation - UI design output artifacts under outputs/ui Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
17 lines
474 B
Bash
17 lines
474 B
Bash
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
export GOPATH="$PWD/work/toolchain/go"
|
|
export GOMODCACHE="$GOPATH/pkg/mod"
|
|
export GOCACHE="$PWD/work/cache/go-build"
|
|
export GOTOOLCHAIN=auto
|
|
export GOFLAGS="${GOFLAGS:--tags=with_utls}"
|
|
task_root="$PWD"
|
|
cd engines/singbox
|
|
go mod download github.com/sagernet/sing-box@v1.14.3
|
|
cd "$task_root"
|
|
python3 scripts/prepare-singbox-patch.py
|
|
export GOFLAGS="$GOFLAGS -modfile=$PWD/work/singbox-patched.go.mod"
|
|
cd engines/singbox
|
|
exec go "$@"
|