elegantapp / pwa-asset-generator

Automates PWA asset generation and image declaration. Automatically generates icon and splash screen images, favicons and mstile images. Updates manifest.json and index.html files with the generated images according to Web App Manifest specs and Apple Human Interface guidelines.
MIT License
2.7k stars 137 forks source link

When running with -p "0px" option I get icon size 192x196, 512x516 instead of 192x192, 512x512 #999

Closed TheRealMaN closed 1 year ago

TheRealMaN commented 1 year ago

Describe the bug When running with -p "0px" option I get icon size 192x196px, 512x516px instead of 192x192px, 512x512px

To Reproduce Steps to reproduce the behavior: pwa-asset-generator icon.svg ./_nuxt/assets -i ./index.html -m ./manifest.json -b "#51B016" -p "0px" OR pwa-asset-generator icon.svg ./_nuxt/assets -i ./index.html -m ./manifest.json -b "#51B016" -p "0"

Expected behavior To get the exact 192x192px, 512x512px icon sizes

System (please complete the following information):

Screenshots

manifest-icon-192 maskable manifest-icon-512 maskable

onderceylan commented 1 year ago

Hi @TheRealMaN, thanks for the issue. I was able to reproduce it, and I will publish a fix soon.

onderceylan commented 1 year ago

:tada: This issue has been resolved in version 6.3.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: