mirror of
https://github.com/Heretek-AI/openclaw-android-assistant.git
synced 2026-07-19 14:13:42 -04:00
dbbe2a7957
The script previously ran 'npm install' and 'npm run build:frontend:bundle'
/ 'npm run build:cli' at the project root, but those scripts live in
openclaw-android/package.json (the codex-web-local source). It also tried
to copy from a non-existent <project_root>/dist and /dist-cli.
Now the script:
- cd's into PROJECT_ROOT/openclaw-android/ before installing/building
- guards on missing source dir
- copies from openclaw-android/{dist,dist-cli,package.json}
- uses --no-audit --no-fund and a strict 'cd' instead of the previous
silent-fallback '|| true' on the prod-deps install, so a bundle
failure surfaces rather than producing an APK with missing node_modules.
Verified end-to-end: vite build + tsup + npm install --omit=dev, APK
rebuilds to 41 MB with the new bundle.