Moved electron related stuff into app folder
This commit is contained in:
parent
b0a9021a02
commit
31f088f805
33 changed files with 18 additions and 18 deletions
|
|
@ -1,25 +0,0 @@
|
|||
const createWindowsInstaller = require('electron-winstaller').createWindowsInstaller
|
||||
const path = require('path')
|
||||
const package = require('../package.json');
|
||||
|
||||
getInstallerConfig()
|
||||
.then(createWindowsInstaller)
|
||||
.catch((error) => {
|
||||
console.error(error.message || error)
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
function getInstallerConfig () {
|
||||
console.log('creating windows installer')
|
||||
|
||||
return Promise.resolve({
|
||||
setupExe: `${package.name}.exe`,
|
||||
appDirectory: path.join(__dirname, '../release-builds/openflexure-ev-win32-x64'),
|
||||
authors: 'OpenFlexure',
|
||||
noMsi: true,
|
||||
outputDirectory: path.join(__dirname, '../release-builds/dist', package.version),
|
||||
exe: 'openflexure-ev.exe',
|
||||
setupIcon: path.join(__dirname, '../icons/win/icon.ico'),
|
||||
certificateFile: "C:\\Certs\\BATH-OPEN-INSTRUMENTATION-GROUP.pfx"
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue