Files
MeshPort/scripts/build-lab-macos.sh
shenleiandClaude Haiku 5.5 2f185f914d Snapshot uncommitted work: proxy UI, sing-box integration, socks bridge
- 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>
2026-10-12 10:06:15 +09:00

21 lines
958 B
Bash
Executable File

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
sh scripts/prepare-lab-default.sh
scripts/cargo-local.sh build -p meshport-ffi -p meshport-vpn-helper --locked
sh scripts/build-singbox-library.sh macos
root="$PWD"
cd apps/meshport_lab
build_number=$(TZ=Asia/Tokyo date +%Y%m%d%H%M%S)
flutter build macos --debug --build-number="$build_number"
app="$PWD/build/macos/Build/Products/Debug/MeshPort.app"
cp "$root/target/debug/libmeshport_ffi.dylib" "$app/Contents/Frameworks/"
cp "$root/target/debug/libmeshport_proxy.dylib" "$app/Contents/Frameworks/"
cp "$root/target/debug/meshport-vpn-helper" "$app/Contents/MacOS/"
codesign --force --sign - "$app/Contents/MacOS/meshport-vpn-helper"
codesign --force --sign - "$app/Contents/Frameworks/libmeshport_ffi.dylib"
codesign --force --sign - "$app/Contents/Frameworks/libmeshport_proxy.dylib"
codesign --force --deep --sign - --entitlements macos/Runner/DebugProfile.entitlements "$app"
touch "$app"
printf '%s\n' "$app"