Files
actual/packages/mobile-client/bin/create-bundle
Julian Dominguez-SchatzandGitHub 5fc6f7638c Check in mobile app scaffolding generated by Capacitor (#8387)
* Check in app scaffolding generated by Capacitor

All files generated by `npx cap init` and `npx cap sync`.

* Add release notes

* Add package.json file

* Update capacitor

* Prune deps

* CodeRabbit feedback
2026-07-03 21:31:30 +00:00

22 lines
578 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
ROOT=`dirname $0`
cd "$ROOT/../../.."
if [ ! -d packages/desktop-client/build ]; then
echo "Desktop client build not found. Please run 'yarn build' in the desktop-client package first."
exit 1
fi
mkdir -p packages/mobile-client/build/
capgo bundle zip org.actualbudget \
--name packages/mobile-client/build/bundle.zip \
--package-json packages/desktop-client/package.json \
--path packages/desktop-client/build \
--no-code-check \
--json > packages/mobile-client/build/bundle.json
echo "Created mobile app bundle."