fixed a few problems with the debian installer
This commit is contained in:
		
							vanhempi
							
								
									8198db872e
								
							
						
					
					
						commit
						335dc51e6f
					
				
							
								
								
									
										9
									
								
								builder-configs/debian.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								builder-configs/debian.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "src": "dist/ElectronDemo-linux-x64",
 | 
				
			||||||
 | 
					  "dest": "dist/installers/",
 | 
				
			||||||
 | 
					  "arch": "amd64",
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  "genericName": "Demo",
 | 
				
			||||||
 | 
					  "bin": "ElectronDemo",
 | 
				
			||||||
 | 
					  "icon": "images/daplie-logo.png"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							@ -61,8 +61,6 @@ function createWindow () {
 | 
				
			|||||||
  }));
 | 
					  }));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app.setName('ElectronDemo');
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// This method will be called when Electron has finished
 | 
					// This method will be called when Electron has finished
 | 
				
			||||||
// initialization and is ready to create browser windows.
 | 
					// initialization and is ready to create browser windows.
 | 
				
			||||||
// Some APIs can only be used after this event occurs.
 | 
					// Some APIs can only be used after this event occurs.
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										13
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								package.json
									
									
									
									
									
								
							@ -1,14 +1,17 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "electron-demo",
 | 
					  "name": "electron-demo",
 | 
				
			||||||
  "version": "0.0.3",
 | 
					  "productName": "ElectronDemo",
 | 
				
			||||||
 | 
					  "version": "0.0.4",
 | 
				
			||||||
  "description": "Demo Electron app to use all the 'sexy' features",
 | 
					  "description": "Demo Electron app to use all the 'sexy' features",
 | 
				
			||||||
  "maintainers": [
 | 
					  "author": {
 | 
				
			||||||
    "seth.gibelyou@daplie.com"
 | 
					    "name": "Daplie Labs",
 | 
				
			||||||
  ],
 | 
					    "url": "https://labs.daplie.com",
 | 
				
			||||||
 | 
					    "email": "seth.gibelyou@daplie.com"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "start": "electron .",
 | 
					    "start": "electron .",
 | 
				
			||||||
    "build": "electron-packager . --platform linux --arch x64 --out dist/",
 | 
					    "build": "electron-packager . --platform linux --arch x64 --out dist/",
 | 
				
			||||||
    "deb64": "electron-installer-debian --src dist/electron-demo-linux-x64/ --dest dist/installers/ --arch amd64"
 | 
					    "deb64": "electron-installer-debian --config builder-configs/debian.json"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "electron": "^1.6.5",
 | 
					    "electron": "^1.6.5",
 | 
				
			||||||
 | 
				
			|||||||
		Ladataan…
	
	
			
			x
			
			
		
	
		Viittaa uudesa ongelmassa
	
	Block a user