build.js update
This commit is contained in:
parent
d7eadd03f2
commit
4b30c22cfb
|
@ -133,9 +133,12 @@ async function cmd() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else if (platform == 'linux') {
|
} else if (platform == 'linux') {
|
||||||
if ((isTrue('withIa32') && arch == 'x64') || arch == 'ia32') {
|
if (arch == 'ia32') {
|
||||||
await build(Platform.LINUX, Arch.ia32, config)
|
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') {
|
if (arch == 'x64') {
|
||||||
await build(Platform.LINUX, Arch.x64, config)
|
await build(Platform.LINUX, Arch.x64, config)
|
||||||
fs.renameSync(
|
fs.renameSync(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user