From 96df68c46f495de0f63d36b5130e7dfdc773198a Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:01:43 +0200 Subject: add windows 64bit version (#2413) * test build for windows 64bit * testing build for windows 64bit * fixed arch check for windows file name added electron 64bit for windows * blocked 64bit installer to be installed in 32bit windows --------- Co-authored-by: rejbasket --- bin/build-electron | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/build-electron') diff --git a/bin/build-electron b/bin/build-electron index cdc98f9d..51bb7de4 100755 --- a/bin/build-electron +++ b/bin/build-electron @@ -1,10 +1,15 @@ #!/bin/bash +ARCH=$(python -c "import platform; n = platform.architecture()[0]; print(n)") set -e set -x if [ "$BUILD" = "windows" ]; then - args="-w --ia32" + if [ "$ARCH" = "32bit" ]; then + args="-w --ia32" + else + args="-w --x64" + fi elif [ "$BUILD" = "linux" ]; then args="-l" elif [ "$BUILD" = "osx" ]; then -- cgit v1.2.3