From f85395b9a6e318406cbac12d639944173ab8a898 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Fri, 12 Apr 2019 15:29:00 -0400 Subject: [PATCH] use docker for linux too and npm for mac --- bin/build-electron | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/build-electron b/bin/build-electron index 1c0c6e583..b48872682 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