build.js update

This commit is contained in:
cutls 2021-04-13 14:56:58 +09:00
parent d7eadd03f2
commit 4b30c22cfb

View File

@ -133,9 +133,12 @@ async function cmd() {
)
}
} else if (platform == 'linux') {
if ((isTrue('withIa32') && arch == 'x64') || arch == 'ia32') {
if (arch == 'ia32') {
await build(Platform.LINUX, Arch.ia32, config)
}
if ((isTrue('withIa32') && arch == 'x64') ) {
console.log('snapcraft does not curretly support builing i386 on amd64')
}
if (arch == 'x64') {
await build(Platform.LINUX, Arch.x64, config)
fs.renameSync(