Files
2026-10-27 21:21:33 +01:00

46 lines
2.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# App Store listing
Texts and screenshots for every UI language (en-US, es-ES, ar-SA, de-DE, hu, pl, fr-FR, it, sk).
| File | What |
|---|---|
| `metadata.json` | Subtitle, keywords, promotional text, description, screenshot headlines and demo site names per App Store Connect locale |
| `scene.py` | Synthetic dusk scene (strip, partial strip, camera frame) and its exact horizon profile |
| `make_screenshots.mjs` | Runs the web app in headless Chrome at iPhone 6.9" size in app-shell mode, seeds demo sites, captures 6 screens, frames them with the localized headline (1290×2796) |
| `upload_listing.py` | Uploads texts + screenshots via the App Store Connect API (replaces what is there), sets copyright and category, attaches the newest processed build |
## Regenerate and upload
```bash
W=/tmp/skycontour-store # any work folder
python3 store/scene.py $W
CH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
"$CH" --headless=new --hide-scrollbars --default-background-color=00000000 --window-size=3072,1024 --screenshot=$W/strip_full.png file://$W/strip_full.svg
"$CH" --headless=new --hide-scrollbars --default-background-color=00000000 --window-size=3072,1024 --screenshot=$W/strip_partial.png file://$W/strip_partial.svg
"$CH" --headless=new --hide-scrollbars --window-size=1080,1920 --screenshot=$W/camera.png file://$W/camera.svg
ffmpeg -loglevel error -y -loop 1 -i $W/camera.png -r 5 -t 1 -pix_fmt yuv420p $W/camera.y4m
(cd wasm/frontend && npx vite --port 5199) # in another terminal; do not rebuild wasm meanwhile
node store/make_screenshots.mjs 'https://localhost:5199/?sim' $W # or list locales after $W
python3 store/upload_listing.py $W # privacy/support URLs default to sagifer.github.io/appdocuments (repo: github.com/sagifer/appdocuments)
```
Not covered by the API and set in App Store Connect by hand: App Privacy answers, age rating, price and availability.
## Google Play
`make_screenshots.mjs` also writes Play versions (1440×2560, 9:16, no iPhone frame) to `<work>/<locale>/play/`. `FRAMES_ONLY=1` re-frames existing raw screens without running the app.
| File | What |
|---|---|
| `make_play_graphics.py` | 512×512 icon (`<work>/play-icon.png`) and a 1024×500 feature graphic per locale (`<work>/<locale>/play/feature.png`) |
| `upload_play_listing.py` | Uploads title, short description (`playShortDescription`), full description (`description`), icon, feature graphic and screenshots via the Play Developer API (`scripts/gplay_api.py`); sets contact email (`sagiferdev@gmail.com`, public) and website |
```bash
# after the App Store steps above (same $W)
python3 store/make_play_graphics.py $W
python3 store/upload_play_listing.py $W # --locales hu de-DE … / --texts-only
```
Set in Play Console by hand: privacy policy URL, app category, Data safety, content rating, target audience, ads declaration.