Skip to content

Instantly share code, notes, and snippets.

@deepak1556 deepak1556/main.js
Created Dec 12, 2019

What would you like to do?
Super key menu labelling issue on linux
const {app, BrowserWindow, Menu} = require('electron')
app.on('ready', function() {
var mainWindow = new BrowserWindow({});
var menuTemplate = [
label: 'View',
submenu: [
label: 'Super Key example',
accelerator: 'Ctrl+Super+A',
click: function() {
console.log("Command+Super+A event");
label: 'Quit',
accelerator: 'Command+Q',
click: function() { app.quit(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.