mirror of
https://github.com/luxfi/ai.git
synced 2026-10-30 17:02:43 +00:00
Zero-source-code thin shim that builds Lux Desktop from upstream hanzo/desktop with BRAND=lux overlay + brand/ assets. Mirrors the zoo/app and zoo/exchange patterns so all three brands ship the same machine/containers/Kubernetes/network UI from one upstream codebase.
21 lines
526 B
Bash
Executable File
21 lines
526 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build Lux Desktop from upstream hanzoai/desktop with BRAND=lux overlay.
|
|
set -euo pipefail
|
|
|
|
# shellcheck source=./_resolve-upstream.sh
|
|
source "$(dirname "$0")/_resolve-upstream.sh"
|
|
|
|
sync_brand
|
|
|
|
cd "$UPSTREAM"
|
|
[ -d node_modules ] || npm install --legacy-peer-deps
|
|
|
|
cd "$APP_DIR"
|
|
[ -d node_modules ] || npm install --legacy-peer-deps
|
|
|
|
VITE_BRAND=lux BRAND=lux npm run build:lux
|
|
|
|
echo
|
|
echo "built: $APP_DIR/src-tauri/target/release/bundle/"
|
|
ls "$APP_DIR/src-tauri/target/release/bundle/" 2>/dev/null || true
|