- 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
Create the app package for your system:
- macOS - Run
yarn pack:osx
- Windows 64-bit - Run
yarn pack:win
- Windows 32-bit - Run
yarn pack:win32
- Linux/Ubuntu 64-bit - Run
yarn pack:linux
See CONTRIBUTING.md