From 335dc51e6fc7b399cdb12ec8d1fb5571bb3f0aa8 Mon Sep 17 00:00:00 2001 From: tigerbot Date: Fri, 21 Apr 2017 18:35:22 -0600 Subject: [PATCH] fixed a few problems with the debian installer --- builder-configs/debian.json | 9 +++++++++ index.js | 2 -- package.json | 13 ++++++++----- 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 builder-configs/debian.json diff --git a/builder-configs/debian.json b/builder-configs/debian.json new file mode 100644 index 0000000..449d92e --- /dev/null +++ b/builder-configs/debian.json @@ -0,0 +1,9 @@ +{ + "src": "dist/ElectronDemo-linux-x64", + "dest": "dist/installers/", + "arch": "amd64", + + "genericName": "Demo", + "bin": "ElectronDemo", + "icon": "images/daplie-logo.png" +} diff --git a/index.js b/index.js index c84da03..00bd55c 100644 --- a/index.js +++ b/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. diff --git a/package.json b/package.json index 7ff9ba0..67d5aff 100644 --- a/package.json +++ b/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",