Files
RememBerBerandCursor 84f2bec7fe feat(next-compose): add Compose Desktop shell and JSON workspace slice
Create an independent Gradle product with 26-tool navigation, isolated data paths, and a real JSON format/find/history/vault flow so the first slice can build and run without depending on other MooTool lines.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 11:27:34 +08:00

13 lines
407 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
if [[ -z "${JAVA_HOME:-}" ]]; then
if /usr/libexec/java_home -v 21 >/dev/null 2>&1; then
export JAVA_HOME="$(/usr/libexec/java_home -v 21)"
fi
fi
export MOOTOOL_COMPOSE_DATA_DIR="${MOOTOOL_COMPOSE_DATA_DIR:-$ROOT/local.properties.d/dev-profile}"
mkdir -p "$MOOTOOL_COMPOSE_DATA_DIR"
cd "$ROOT"
./gradlew :composeApp:run