|  | @@ -1,4 +1,4 @@
 | 
	
		
			
				|  |  | -const {Menu, shell} = require('electron');
 | 
	
		
			
				|  |  | +const {Menu, shell, dialog} = require('electron');
 | 
	
		
			
				|  |  |  const func = require('./function/menu');
 | 
	
		
			
				|  |  |  const demo = require('./function/demo-application-menu');
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -28,7 +28,7 @@ let template = [
 | 
	
		
			
				|  |  |      ]
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  | -    label: 'Demo',
 | 
	
		
			
				|  |  | +    label: 'Démo',
 | 
	
		
			
				|  |  |      submenu: [
 | 
	
		
			
				|  |  |        {
 | 
	
		
			
				|  |  |          label: 'Calcul nombre premier',
 | 
	
	
		
			
				|  | @@ -102,6 +102,18 @@ let template = [
 | 
	
		
			
				|  |  |          click: () => {
 | 
	
		
			
				|  |  |            shell.openExternal('https://gitlab.univ-artois.fr/arthur_brandao/conf-electron');
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +      },
 | 
	
		
			
				|  |  | +      {
 | 
	
		
			
				|  |  | +        label: 'Versions',
 | 
	
		
			
				|  |  | +        click: () => {
 | 
	
		
			
				|  |  | +          const opts = {
 | 
	
		
			
				|  |  | +            'type': 'info',
 | 
	
		
			
				|  |  | +            'title': 'Versions',
 | 
	
		
			
				|  |  | +            'message': `Electron : ${process.versions.electron}\nChrome : ${process.versions.chrome}\nNode : ${process.versions.node}`,
 | 
	
		
			
				|  |  | +            'buttons': ['Fermer']
 | 
	
		
			
				|  |  | +          };
 | 
	
		
			
				|  |  | +          dialog.showMessageBox(mainWindow, opts);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      ]
 | 
	
		
			
				|  |  |    }
 |