Add help menu to electron site
This commit is contained in:
		
					parent
					
						
							
								e3c21424de
							
						
					
				
			
			
				commit
				
					
						f4a27f699a
					
				
			
		
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -148,6 +148,10 @@ app.on('ready', function() {
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        label: 'Help',
 | 
					        label: 'Help',
 | 
				
			||||||
        submenu: [
 | 
					        submenu: [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            label: 'Learn More',
 | 
				
			||||||
 | 
					            click: function() { require('shell').openExternal('http://electron.atom.io') }
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            label: 'Documentation',
 | 
					            label: 'Documentation',
 | 
				
			||||||
            click: function() { require('shell').openExternal('https://github.com/atom/electron/tree/master/docs#readme') }
 | 
					            click: function() { require('shell').openExternal('https://github.com/atom/electron/tree/master/docs#readme') }
 | 
				
			||||||
| 
						 | 
					@ -205,6 +209,10 @@ app.on('ready', function() {
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        label: 'Help',
 | 
					        label: 'Help',
 | 
				
			||||||
        submenu: [
 | 
					        submenu: [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            label: 'Learn More',
 | 
				
			||||||
 | 
					            click: function() { require('shell').openExternal('http://electron.atom.io') }
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            label: 'Documentation',
 | 
					            label: 'Documentation',
 | 
				
			||||||
            click: function() { require('shell').openExternal('https://github.com/atom/electron/tree/master/docs#readme') }
 | 
					            click: function() { require('shell').openExternal('https://github.com/atom/electron/tree/master/docs#readme') }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue