diff options
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 |
