- Node - https://nodejs.org/en/download/
- yarn - https://yarnpkg.com/en/docs/install
- Have the Developer ID certificate for Khalis Foundation installed from Apple Developer Console
- pageant on Windows for SSH access to remote server
- AWS S3 keys
- macOS
- Distribution provision profile in app root directory for Mac App Store
- Windows
- Set
CSC_LINK
andCSC_KEY_PASSWORD
environment variables with the .p12 path and decryption password respectively
- Clone repository
- Run
git submodule update --init --recursive
after youcd
into the repository - Run
git checkout -t origin/dev
in the repository root and the www folder - Run
yarn install
in the repository root - Depending on your current operating system, run
yarn run pack:win
oryarn run pack:mac
to rebuild the native plugins for your system
Create file packaging/aws.json using packaging/aws-sample.json and fill out AWS information
Create file packaging/keys.json using packaging/keys-sample.json and enter location of private key for SSH access to remote server where version number will be stored
- Run
yarn start
in the repository root
- Run
yarn dist:osx
on macOS oryarn dist:win
andyarn dist:win32
on Windows to create and upload the app setup and update files