From 83dee56266a5f257e3a98632debf7c2ca729ba41 Mon Sep 17 00:00:00 2001 From: cutls Date: Tue, 13 Apr 2021 13:48:59 +0900 Subject: [PATCH] 2 --- app/build.js | 15 +++++++++++---- app/view/pl-PL/index.html | 4 ++-- app/view/pl-PL/setting.html | 4 ++-- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/app/build.js b/app/build.js index 05a93c3c..db8e2635 100644 --- a/app/build.js +++ b/app/build.js @@ -70,24 +70,31 @@ async function cmd() { await build(Platform.WINDOWS, Arch.ia32, config) fs.renameSync( `../build/TheDesk ${version}.exe`, - '../build/TheDesk-ia32.exe' + '../build/TheDesk-ia32-store.exe' ) fs.renameSync( `../build/TheDesk-setup.exe`, - '../build/TheDesk-setup-ia32.exe' + '../build/TheDesk-setup-ia32-store.exe' ) } if (arch == 'x64') { await build(Platform.WINDOWS, Arch.x64, config) fs.renameSync( `../build/TheDesk ${version}.exe`, - '../build/TheDesk.exe' + '../build/TheDesk-store.exe' + ) + fs.renameSync( + `../build/TheDesk-setup.exe`, + '../build/TheDesk-setup-ia32-store.exe' ) } } 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) if (!isTrue('onlyStore')) { diff --git a/app/view/pl-PL/index.html b/app/view/pl-PL/index.html index f870f026..fed6dd4f 100644 --- a/app/view/pl-PL/index.html +++ b/app/view/pl-PL/index.html @@ -25,8 +25,8 @@