A utility for generating device-specific svg
& png
banners for the Evolution X Updates channel.
This file is used to generate the banners
devices.json
structure:
{
"devices": [
{
"codename": "raphael",
"device_name": "Mi 9T Pro / Redmi K20 Pro",
"device_name_line2": "",
"device_type": 0,
"maintainer": "Joey Huab (Stallix)"
}
]
}
npm install
npm run start
-
The utility will generate the SVG banners and list all the codenames. Upon completion, a prompt will appear asking if you want to export the SVG banners to PNG.
-
.svg
banners are exported to./svg/codename.svg
-
.png
banners are exported to./png/codename.png
&./png/banners.zip