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