blob: b48872682f8b7f5aadf638aaa19e34f29f314c38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
if [ "$BUILD" = "windows" -o "$BUILD" = "linux" ]; then
docker run --rm \
-e ELECTRON_CACHE=$HOME/.cache/electron \
-v ${PWD}/electron:/project \
-v ~/.cache/electron:/root/.cache/electron \
electronuserland/builder:wine \
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run dist"
else
cd electron
npm install
npm run dist
fi
|