Socket
Book a DemoInstallSign in
Socket

@mrkpatchaa/electron-icon-maker-forge

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrkpatchaa/electron-icon-maker-forge

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

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

electron

FAQs

Package last updated on 16 Jan 2024

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