summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-electron6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-electron b/bin/build-electron
index 1c0c6e58..b4887268 100755
--- a/bin/build-electron
+++ b/bin/build-electron
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ "$BUILD" = "windows" ]; then
+if [ "$BUILD" = "windows" -o "$BUILD" = "linux" ]; then
docker run --rm \
-e ELECTRON_CACHE=$HOME/.cache/electron \
-v ${PWD}/electron:/project \
@@ -9,6 +9,6 @@ if [ "$BUILD" = "windows" ]; then
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run dist"
else
cd electron
- yarn install
- yarn run dist
+ npm install
+ npm run dist
fi