Created create-installer scripts
This commit is contained in:
parent
bddeebb2a9
commit
8ab47f9e42
8 changed files with 452 additions and 42 deletions
24
installers/create-deb-arm.js
Normal file
24
installers/create-deb-arm.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
const installer = require('electron-installer-debian')
|
||||
const path = require('path')
|
||||
|
||||
const options = {
|
||||
src: path.join(__dirname, '../release-builds/openflexure-microscope-js-linux-armv7l/'),
|
||||
dest: path.join(__dirname, '/release-builds'),
|
||||
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)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue