Generates Forge-compliant binaries AND High-DPI assets (@1x to @5x).
For Windows and macOS Application Icons.
Includes @1x, @2x, @3x, @4x, @5x for UI elements.
For high-density displays, use the base name in your code:
// Electron automatically picks icon@2x.png on Retina
const icon = nativeImage.createFromPath('assets/icon.png');
const tray = new Tray(icon);