fixed a few problems with the debian installer
This commit is contained in:
		
							parent
							
								
									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
 | 
			
		||||
// initialization and is ready to create browser windows.
 | 
			
		||||
// Some APIs can only be used after this event occurs.
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										13
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								package.json
									
									
									
									
									
								
							@ -1,14 +1,17 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "electron-demo",
 | 
			
		||||
  "version": "0.0.3",
 | 
			
		||||
  "productName": "ElectronDemo",
 | 
			
		||||
  "version": "0.0.4",
 | 
			
		||||
  "description": "Demo Electron app to use all the 'sexy' features",
 | 
			
		||||
  "maintainers": [
 | 
			
		||||
    "seth.gibelyou@daplie.com"
 | 
			
		||||
  ],
 | 
			
		||||
  "author": {
 | 
			
		||||
    "name": "Daplie Labs",
 | 
			
		||||
    "url": "https://labs.daplie.com",
 | 
			
		||||
    "email": "seth.gibelyou@daplie.com"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "start": "electron .",
 | 
			
		||||
    "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": {
 | 
			
		||||
    "electron": "^1.6.5",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user