summaryrefslogtreecommitdiff
path: root/bin/build-electron
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-electron')
-rwxr-xr-xbin/build-electron11
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/build-electron b/bin/build-electron
index d8ce78b8..1b90b556 100755
--- a/bin/build-electron
+++ b/bin/build-electron
@@ -1,11 +1,10 @@
#!/bin/bash
-if [ "$BUILD" = "windows" -o "$BUILD" = "linux" ]; then
- if [ "$BUILD" = "windows" ]; then
- args="-w --ia32"
- else
- args="-l --x64"
- fi
+if [ "$BUILD" = "windows" ]; then
+ cd electron
+ yarn --link-duplicates --pure-lockfile && yarn run dist -w --ia32
+elif [ "$BUILD" = "linux" ]; then
+ args="-l --x64"
docker run --rm \
-e ELECTRON_CACHE=$HOME/.cache/electron \