Files
openclaw-android-assistant/android/scripts
John Smith dbbe2a7957 fix(android): point build-server-bundle.sh at openclaw-android/ source
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.
2026-06-03 18:39:16 -04:00
..