Skip to content

An icon generator to generate all the icon files needed for electron packaging

License

Notifications You must be signed in to change notification settings

mrkpatchaa/electron-icon-maker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-icon-maker for Forge

Global usage

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

Local usage

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

Arguments

--output, -o = [String] Folder to create files
--input, -i = [String] Path to PNG file
--name, -n = [String] Desired output file names

Recommendations

Input file should be 1024px x 1024px or larger. Make sure it is a 1 to 1 aspect ratio on width to height.

Output structure

[output dir]
    - [name].icns
    - [name].ico
    - [name].png
    - [name]@2x.png

About

An icon generator to generate all the icon files needed for electron packaging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%