Moved electron related stuff into app folder

This commit is contained in:
Joel Collins 2019-05-02 14:48:25 +01:00
parent b0a9021a02
commit 31f088f805
33 changed files with 18 additions and 18 deletions

View file

@ -1,25 +0,0 @@
const installer = require('electron-installer-debian')
const path = require('path')
const package = require('../package.json');
const options = {
src: path.join(__dirname, '../release-builds/openflexure-ev-linux-armv7l/'),
dest: path.join(__dirname, '../release-builds/dist', package.version),
arch: 'armhf',
icon: path.join(__dirname, '../icons/png/1024x1024.png'),
categories: [
"Science"
],
lintianOverrides: [
"changelog-file-missing-in-native-package"
]
}
console.log('Creating package (this may take a while)')
installer(options)
.then(() => console.log(`Successfully created package at ${options.dest}`))
.catch(err => {
console.error(err, err.stack)
process.exit(1)
})