diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-11-15 13:09:53 -0500 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2020-01-29 01:29:49 -0500 |
| commit | 13fe706716a383e12b47c0458324580b6b12b84c (patch) | |
| tree | 7c7c19dfb5d9eb193c860b7a2c5ed8d18fc6605d /bin/build-electron | |
| parent | 9747e057a26bfd203282925827f3ae20f2675b94 (diff) | |
windows build github action
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 \ |
