export const winLinuxMenu = (app, window, openAbout) => (
  [{
    label: 'Daedalus',
    submenu: [{
      label: 'About',
      click() {
        openAbout();
      }
    }, {
      label: 'Close',
      accelerator: 'Ctrl+W',
      click() {
        app.quit();
      }
    }]
  }, {
    label: 'Edit',
    submenu: [{
      label: 'Undo',
      accelerator: 'Ctrl+Z',
      role: 'undo'
    }, {
      label: 'Redo',
      accelerator: 'Shift+Ctrl+Z',
      role: 'redo'
    }, {
      type: 'separator'
    }, {
      label: 'Cut',
      accelerator: 'Ctrl+X',
      role: 'cut'
    }, {
      label: 'Copy',
      accelerator: 'Ctrl+C',
      role: 'copy'
    }, {
      label: 'Paste',
      accelerator: 'Ctrl+V',
      role: 'paste'
    }, {
      label: 'Select All',
      accelerator: 'Ctrl+A',
      role: 'selectall'
    }]
  }, {
    label: 'View',
    submenu: [
      {
        label: 'Reload',
        accelerator: 'Ctrl+R',
        click() { window.webContents.reload(); }
      },
      {
        label: 'Toggle Full Screen',
        accelerator: 'F11',
        click() { window.setFullScreen(!window.isFullScreen()); }
      },
      {
        label: 'Toggle Developer Tools',
        accelerator: 'Alt+Ctrl+I',
        click() { window.toggleDevTools(); }
      }
    ]
  }]
);

export default (app, window, openAbout) => (
  [{
    label: 'Daedalus',
    submenu: [{
      label: 'About',
      click() {
        openAbout();
      }
    }, {
      label: 'Close',
      accelerator: 'Ctrl+W',
      click() {
        app.quit();
      }
    }]
  }, {
    label: 'Edit',
    submenu: [{
      label: 'Undo',
      accelerator: 'Ctrl+Z',
      role: 'undo'
    }, {
      label: 'Redo',
      accelerator: 'Shift+Ctrl+Z',
      role: 'redo'
    }, {
      type: 'separator'
    }, {
      label: 'Cut',
      accelerator: 'Ctrl+X',
      role: 'cut'
    }, {
      label: 'Copy',
      accelerator: 'Ctrl+C',
      role: 'copy'
    }, {
      label: 'Paste',
      accelerator: 'Ctrl+V',
      role: 'paste'
    }, {
      label: 'Select All',
      accelerator: 'Ctrl+A',
      role: 'selectall'
    }]
  }, {
    label: 'View',
    submenu: [
      {
        label: 'Reload',
        accelerator: 'Ctrl+R',
        click() { window.webContents.reload(); }
      },
      {
        label: 'Toggle Full Screen',
        accelerator: 'F11',
        click() { window.setFullScreen(!window.isFullScreen()); }
      },
      {
        label: 'Toggle Developer Tools',
        accelerator: 'Alt+Ctrl+I',
        click() { window.toggleDevTools(); }
      }
    ]
  }]
);

Fix missing application menu on Windows build
[DDW-212] Fix missing application menu on Windows build
