diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2023-07-30 16:01:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-30 16:01:43 +0200 |
| commit | 96df68c46f495de0f63d36b5130e7dfdc773198a (patch) | |
| tree | a67c5b56318c8a64ad2bdd6f7e192aadab607b27 /bin/build-electron | |
| parent | 647f0121907e3679448c37bebb98a8966555054e (diff) | |
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 <rejbasket@users.noreply.github.com>
Diffstat (limited to 'bin/build-electron')
| -rwxr-xr-x | bin/build-electron | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
