-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow building in macos catalina
Build Windows distributions within a Docker container and change the way we handle web security to allow for the build to run within macOS Catalina. closes #194
- Loading branch information
1 parent
af20a10
commit 69aff4e
Showing
4 changed files
with
2,552 additions
and
2,458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
docker run --rm -ti \ | ||
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \ | ||
--env ELECTRON_CACHE="/root/.cache/electron" \ | ||
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \ | ||
--env NODE_VERSION="12.3.0" \ | ||
-v ${PWD}:/project \ | ||
-v ${PWD##*/}-node-modules:/project/node_modules \ | ||
-v ~/.cache/electron:/root/.cache/electron \ | ||
-v ~/.cache/electron-builder:/root/.cache/electron-builder \ | ||
electronuserland/builder:wine \ | ||
/bin/bash -c "apt-get -qq update && curl -L https://nodejs.org/dist/v12.3.0/node-v12.3.0-linux-x64.tar.gz | tar xz -C /usr/local --strip-components=1 && unlink /usr/local/CHANGELOG.md && unlink /usr/local/LICENSE && unlink /usr/local/README.md && npm config set unsafe-perm true && yarn && yarn dist:win" |
Oops, something went wrong.