feat(android): write android.json, icon and presplash for RAPT from [android]

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-23 16:23:46 +02:00
1 parent d1bcdf3340
commit 8eae166e7a
5 files changed
+177

No files matched your search

+20
View File
@@ -134,3 +134,23 @@ Optional `[translations.<code>]` tables: other languages from a published transl
text (verbatim, never machine-translated). Configuration, mapping rules and the Ren'Py output
are in [translations.md](translations.md); the mapping is committed as
`data/translations/<code>.json`.
### Android
Optional `[android]` table: `vnpipe renpy` then also writes the inputs RAPT (Ren'Py's Android
tool) needs into the project, so the APK can be built without the launcher GUI
(`docs/running.md`, section 5).
```toml
[android]
package = "io.github.you.work" # required; permanent once published
name = "Title" # default: [work].title
orientation = "sensorLandscape" # default
icon = "assets/sprites/x.webp" # optional: subject for the adaptive icon (top square)
icon_background = "#14110e" # optional: icon background colour
presplash = "assets/bg/y.webp" # optional: image shown while the game loads
```
Files written: `android.json`, `android-icon_foreground.png`, `android-icon_background.png`,
`android-presplash.jpg`. The signing keystores (`android.keystore`, `bundle.keystore`) are never
generated by vnpipe: RAPT creates them on the first build and they must stay secret.