From 4b30c22cfb9531e7be4770df4d9b8151a4597059 Mon Sep 17 00:00:00 2001 From: cutls Date: Tue, 13 Apr 2021 14:56:58 +0900 Subject: [PATCH] build.js update --- app/build.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/build.js b/app/build.js index da6b3be1..3d8195a9 100644 --- a/app/build.js +++ b/app/build.js @@ -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(