Repository navigation
v0.1.5
v0.1.5 ~ "Your own app icon"
Highlights
yarn generate:app-iconmakes every icon size from one image. Put a square image of at least 1024×1024 atbrand/app-icon.pngand run it: it writes the iOS icon set and Android's square, round and adaptive icons, so a store build ships the operator's icon instead of Passenger's. Fleetbase's build machines run it whenever a build hasbrand/app-icon.png.
Changes
- New
scripts/generate-app-icon.js. It uses ImageMagick (magick, orconvertfrom ImageMagick 6) and adds no dependency.- iOS icons are opaque 24-bit PNGs: transparency is filled with white.
- Android's adaptive icon uses the whole image as its foreground, on the image's top-left colour.
- Tests: a test makes the icons from a non-square image with a transparent corner. It's skipped where ImageMagick isn't installed.
- README: explains
brand/app-icon.pngand the command.
Upgrading
Nothing to change. Without brand/app-icon.png, nothing changes: builds keep Passenger's icon.
What's Changed
Full Changelog: v0.1.4...v0.1.5