erb-icons-gen
v1.0.1
Published
Icons Generator for Electron React Boilerplate from single icon.png
Downloads
4
Maintainers
Readme
Electron React Boilerplate icons generator
it was panful to generate all icons for Electron-React-Boilerplate each time there are changes in the icon. So i created this package to generate all icons from single icon.png in the resources directory of Electron-React-Boilerplate
Usage with electron react boilerplate
Installation
npm install --save-dev erb-icons-gen@latest
# or
yarn add -D erb-icons-gen@latest
Add the following script to package.json
file
"scripts": {
"gen:icons" : "erb-generate --input resources/icon.png --output resources/"
}
Generate all icons from single icon.png
make sure that you have icon.png in your resources
directory and run the following command in your project root.
npm run gen:icons
# or
yarn gen:icons