Add mac build script

This commit is contained in:
Jason Rhinelander 2022-06-28 11:26:07 -03:00
parent 6075dde728
commit 6dd95d0825
1 changed files with 12 additions and 0 deletions

12
tools/build-macos-release.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# This script needs to run on an *actual* Mac with proper signing keys loaded. It won't work in CI
# because Apple codesigning is unbelievably flakey.
rm -f bin/oxen*
./tools/download-oxen-files.sh https://oxen.rocks/oxen-io/oxen-core/oxen-stable-macos-LATEST.tar.xz
export NODE_OPTIONS=--openssl-legacy-provider
npm run build