diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2020-02-18 20:30:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-18 20:30:40 -0500 |
| commit | 8e590d069b25814d28790c9f3c1dcb849acbac97 (patch) | |
| tree | ce16953d18051dab3199e30b77b14784647290a5 /bin/build-electron | |
| parent | 4937721b7db4070c8d4a6027ff7c016fce8c1ee0 (diff) | |
| parent | 3c32246568af85871717a0f3e7d132f9f1a0ea3e (diff) | |
Merge pull request #573 from inkstitch/lneva/stdout-encoding
fixes
Diffstat (limited to 'bin/build-electron')
| -rwxr-xr-x | bin/build-electron | 11 |
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 \ |
