diff options
| author | Lex Neva <github.com@lexneva.name> | 2020-08-18 14:58:52 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2020-08-18 15:09:51 -0400 |
| commit | c2c2d569c245d9982542bb7e7c526f3a9405e5c8 (patch) | |
| tree | 0f1a7ba34ec6bccf78d36f9449c275e148940db4 | |
| parent | 53ba4f530389b79d0156da284d1cd94e14de7e24 (diff) | |
windows already has yarn, in a weird place
| -rwxr-xr-x | bin/build-electron | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-electron b/bin/build-electron index 3496abf1..11616cb4 100755 --- a/bin/build-electron +++ b/bin/build-electron @@ -1,6 +1,7 @@ #!/bin/bash set -e +set -x if [ "$BUILD" = "windows" ]; then args="-w --ia32" @@ -11,6 +12,6 @@ elif [ "$BUILD" = "osx" ]; then fi cd electron -npm install -g yarn +which yarn > /dev/null 2>&1 || npm install -g yarn yarn --link-duplicates --pure-lockfile yarn run dist ${args} |
