toggleWin = () => {
    if (isPlatform('windows')) {
      win.isMinimized() ? win.restore() : win.isVisible() ? win.hide() : win.show()
    } else {
      win.isVisible() ? win.hide() : win.show()
    }
  }
Create a tray for Windows and Linux users
@param win { BrowserWindow } - window instance
@returns tray