- Install dependencies
brew install imagemagick inkscape
- Run script bellow in same folder as your
input.svg
(it should be namedinput.svg
!!!) - Grab all the files except
input.svg
— thery are ready to use. Dont forget to dropmainfest.webmanifest
near them, and then include everything in your HTML head.
Credits: script was compiled from Evil Martians article