Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

electron js hide on tray icon

var contextMenu = Menu.buildFromTemplate([
    { label: 'Show App', click:  function(){
        mainWindow.show();
    } },
    { label: 'Quit', click:  function(){
        application.isQuiting = true;
        application.quit();
    } }
]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #electron #js #hide #tray #icon
ADD COMMENT
Topic
Name
6+2 =