/**
 * Build description of tray context menu
 * @param {function} showApp - function for making the window visible
 * @param {function} askToQuit - function for quitting process
 */
function getTrayMenu(showApp, askToQuit) {
  return [
    {
      label: 'Show App (Alt + 1)',
      click: () => showApp(),
    },
    {
      label: 'Shutdown',
      click: () => askToQuit(),
    },
  ];
}

module.exports = { getTrayMenu };
