check-os-tray-support
Check if the current OS supports showing Tray (useful for Electron apps)
About
Not all OSes support tray icons - this library helps handle unsupported operating systems gracefully.
Installation
Install the library by running npm install check-os-tray-support --save
.
Usage
This library exposes a single method to check for support:
const trayIconSupported = ; if // build and attach a tray icon
License
This project is licensed under the MIT License