ElectronApp.setBadgeCount method
ElectronApp › setBadgeCount
Unofficial
Sets the counter badge for the current app. Setting the count to0 hides the badge. Linux and macOS only. Signature:
setBadgeCount(count?: number | undefined): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| count? | number | undefined | The badge count. |
Returns: boolean — Whether the call succeeded.