Add ia32 windows-installer
This commit is contained in:
parent
cef86fa3e6
commit
094194faf3
|
@ -4,13 +4,16 @@ const createWindowsInstaller = require('electron-winstaller').createWindowsInsta
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const rimraf = require('rimraf')
|
const rimraf = require('rimraf')
|
||||||
|
|
||||||
deleteOutputFolder('x64')
|
const archList = ['ia32', 'x64'];
|
||||||
|
archList.forEach((arch) => {
|
||||||
|
deleteOutputFolder(arch)
|
||||||
.then(getInstallerConfig)
|
.then(getInstallerConfig)
|
||||||
.then(createWindowsInstaller)
|
.then(createWindowsInstaller)
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error(error.message || error)
|
console.error(error.message || error)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
})
|
})
|
||||||
|
})
|
||||||
|
|
||||||
function getInstallerConfig(arch) {
|
function getInstallerConfig(arch) {
|
||||||
const rootPath = path.join(__dirname, '..')
|
const rootPath = path.join(__dirname, '..')
|
||||||
|
|
Loading…
Reference in a new issue