@ffflorian/electron-icon-generator
An icon generator to generate all the icon files needed for electron packaging
Last updated 10 months ago by ffflorian .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ffflorian/electron-icon-generator 
SYNC missed versions from official npm registry.

electron-icon-generator Build Status npm version Dependabot Status

Based on https://github.com/jaretburkett/electron-icon-maker.

Installation

yarn global add @ffflorian/electron-icon-generator
# or
npm install -g @ffflorian/electron-icon-generator

Usage

electron-icon-generator --input /path/to/image.png --output /path/to/folder

Arguments

Usage: electron-icon-generator [options]

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

Options:
  -V, --version          output the version number
  -i, --input <file>     Input PNG file (recommended size: 1024x1024) (default: "./icon.png")
  -o, --output <folder>  Folder to output new icons folder (default: "./")
  -s, --silent           Don't log anything beside errors
  -h, --help             output usage information

Recommendations

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

Output structure

[output dir]
  -[icons]
    -[mac]
      - icon.icns
      -[png]
        - 16x16.png
        - 24x24.png
          ...
        - 512x512.png
        - 1024x1024.png
      -[win]
        -icon.ico

Current Tags

  • 1.0.0                                ...           latest (10 months ago)

2 Versions

  • 1.0.0                                ...           10 months ago
  • 0.0.4                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |