ElectronDock.setIcon method
ElectronDock › setIcon
Unofficial
Sets the image associated with this dock icon. macOS only.Signature:
setIcon(image: string | ElectronNativeImage): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| image | string | ElectronNativeImage | The image, or a path to it. |
Returns: void