Install globally using
npm install -g @mrkpatchaa/electron-icon-maker-forge
To use
electron-icon-maker-forge --input=/absolute/path/file.png --output=./relative/path/to/folder --name=desired-output-icon-name
Install locally
npm install --save-dev @mrkpatchaa/electron-icon-maker-forge
To use
./node_modules/.bin/electron-icon-maker-forge --input=/absolute/path/file.png --output=./relative/path/to/folder --name=desired-output-icon-name
--output, -o = [String] Folder to create files
--input, -i = [String] Path to PNG file
--name, -n = [String] Desired output file names
Input file should be 1024px x 1024px or larger. Make sure it is a 1 to 1 aspect ratio on width to height.
[output dir]
- [name].icns
- [name].ico
- [name].png
- [name]@2x.png