Consolidate docs and finalize APK companion updates

This commit is contained in:
Dwindi Ramadhana
2026-03-16 01:06:41 +07:00
parent 95609dc0cf
commit 88218c7798
48 changed files with 7847 additions and 4502 deletions

View File

@@ -2,6 +2,7 @@
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
CAPACITOR_DIR="${ROOT_DIR}/dewemoji-capacitor"
ANDROID_DIR="${ROOT_DIR}/dewemoji-capacitor/android"
APP_GRADLE="${ANDROID_DIR}/app/build.gradle"
DIST_DIR="${ROOT_DIR}/dewemoji-capacitor/dist/apk"
@@ -20,6 +21,15 @@ fi
mkdir -p "${DIST_DIR}"
echo "== Build local web assets =="
npm --prefix "${CAPACITOR_DIR}" run build
echo "== Sync Capacitor Android project =="
(
cd "${CAPACITOR_DIR}"
npx --yes cap sync android
)
echo "== Build release APK =="
(
cd "${ANDROID_DIR}"