- Install git.
- Install Node.js v14.
- Change npm's default global directory in order to avoid having to run global installs with
sudo
. - Install Docker.
- Clone the repo:
git clone https://github.com/blocknetdx/xlite.git
- Open the directory:
cd xlite
- Checkout the appropriate branch e.g.
git checkout dev
. - Install dependencies:
npm install
- Run build script:
npm run build
- Set
GH_TOKEN
environment variable to a GitHub Token with appropriate permissions for creating releases and pushing release builds. - Set
CSC_LINK
environment variable to the path to the signing cert e.g./Users/myuser/Documents/blocknet/certs/blocknet.p12
- Set
CSC_KEY_PASSWORD
environment variable to the signing cert decryption password. - Set
CSC_IDENTITY_AUTO_DISCOVERY
environment variable tofalse
. - Run build & publish script:
npm run publish-native-mac
- Find the draft release with the packaged build in releases.
Created
December 6, 2021 21:59
-
-
Save rBurgett/021defeeb54ab14b9d39ed12796447a5 to your computer and use it in GitHub Desktop.
XLite macOS Publish Native Build Procedure
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment