Add script to generate Play Store screenshot sizes
Some checks failed
Code Analysis and Production Deploy / deploy-production (push) Has been cancelled
Code Analysis and Production Deploy / deploy-test (push) Has been cancelled
Code Analysis and Production Deploy / analyze (push) Has been cancelled

- Introduced a Node.js script (`playstore-screenshot-sizes.mjs`) to resize images for Play Store screenshots based on predefined profiles (phone, tablet-7, tablet-10).
- The script reads images from a specified input directory, processes them, and saves the resized images in an output directory with appropriate naming conventions.
- Added a Bash wrapper script (`playstore-screenshot-sizes.sh`) to execute the Node.js script easily from the command line.
This commit is contained in:
Torsten Schulz (local)
2026-05-30 00:30:50 +02:00
parent 1e65cb47da
commit 67c746f18b
26 changed files with 129 additions and 42 deletions

View File

@@ -23,6 +23,7 @@
"publish-spielplan": "node scripts/publish-imported-spielplan.js",
"playstore:assets": "./scripts/playstore-assets.sh",
"playstore:anonymize": "./scripts/anonymize-playstore-screenshot.sh",
"playstore:screenshots": "./scripts/playstore-screenshot-sizes.sh",
"test:watch": "vitest watch",
"lint": "eslint . --fix"
},