summaryrefslogtreecommitdiff
path: root/bin/build-electron
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-electron')
-rwxr-xr-xbin/build-electron9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/build-electron b/bin/build-electron
index b0e93572..cdc98f9d 100755
--- a/bin/build-electron
+++ b/bin/build-electron
@@ -2,15 +2,6 @@
set -e
set -x
-ARCH="$(uname -m)"
-# Check for cpu arch to build mac and linux electron arch
-if [[ "$ARCH" = "arm64" ]] || [[ "$ARCH" = "aarch64" ]]; then
- echo "Found ARM"
- sed -i'' -e 's/CPU_ARCH/'arm64'/' electron/package.json
-else
- echo "Found x64"
- sed -i'' -e 's/CPU_ARCH/'x64'/' electron/package.json
-fi
if [ "$BUILD" = "windows" ]; then
args="-w --ia32"