diff --git a/android/.gitignore b/android/.gitignore index a315225..6a0acdd 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -2,10 +2,6 @@ node_modules/ npm-debug.log* -# Loto build (regenerated by `npm run build:loto`) -loto/build/ -loto/.svelte-kit/ - # Android build outputs android/.gradle/ android/build/ diff --git a/android/.gitmodules b/android/.gitmodules deleted file mode 100644 index 0ca4bf6..0000000 --- a/android/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "loto"] - path = loto - url = https://github.com/tiennm99/loto.git diff --git a/android/README.md b/android/README.md index c681b17..4f84d2d 100644 --- a/android/README.md +++ b/android/README.md @@ -1,20 +1,20 @@ # Lô tô — Android (Capacitor wrapper) -![build-debug](https://github.com/tiennm99/loto-android/actions/workflows/build-debug.yml/badge.svg) +![android-build-debug](https://github.com/tiennm99/loto/actions/workflows/android-build-debug.yml/badge.svg) -Fully-offline Android wrapper around [tiennm99/loto](https://github.com/tiennm99/loto) -(SvelteKit PWA). All assets — HTML, JS, CSS, and 184 voice MP3s — are bundled -into the APK at build time. No network is required at runtime. +Fully-offline Android wrapper around the [`web/`](../web) SvelteKit PWA. All +assets — HTML, JS, CSS, and 184 voice MP3s — are bundled into the APK at build +time. No network is required at runtime. > **Note:** the previous native Kotlin/Compose port lives in git history at -> commit `9a35686` and earlier. This repo is now a thin wrapper; loto evolves -> upstream and we just rebuild + ship. +> the commit titled `docs: add post-implementation todo list` and earlier. This +> is now a thin wrapper over `web/`; the web app evolves and we rebuild + ship. ## How it works ``` -loto/ (git submodule, pinned SHA) - └── pnpm run build → loto/build/ (SvelteKit static output) +../web/ + └── pnpm run build → ../web/build/ (SvelteKit static output) ↓ npx cap sync ↓ @@ -30,22 +30,16 @@ and the `