New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

electron-icon-builder

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-icon-builder

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

latest
Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
6.9K
-6.67%
Maintainers
1
Weekly downloads
 
Created
Source

electron-icon-builder

npm node dependencies status

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

Global usage

Install globally using

npm install -g electron-icon-builder

To use

electron-icon-builder --input=/absolute/path/file.png --output=./relative/path/to/folder

Local usage

Install locally

npm install --save-dev electron-icon-builder

To use

./node_modules/.bin/electron-icon-builder --input=/absolute/path/file.png --output=./relative/path/to/folder

Arguments

--output, -o = [String] Folder to create files
--input, -i = [String] Path to PNG file
--flatten, -f  Flatten output structure

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]
    -[icons]
        -[mac]
            - icon.icns
        -[png]
            - 16x16.png
            - 24x24.png
            ...
            ...
            - 512x512.png
            - 1024x1024.png
        -[win]
            -icon.ico

When flatten option is enabled

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

Keywords

electron

FAQs

Package last updated on 23 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts