Botchain network client and wallet app for Windows, OS X and Linux.
If you want to install the app from a pre-built version on the release page, you can simply run the installer after download.
- Electron react Boilerplate: https://github.com/chentsulin/electron-react-boilerplate
- React Bootstrap: https://react-bootstrap.github.io
- Ethereum Web3js: https://web3js.readthedocs.io/en/1.0/web3-eth.html
- Electron Builder: https://github.com/electron-userland/electron-builder
yarn install
yarn dev
To package apps for the local platform:
yarn package
or
yarn package-linux
yarn package-win
yarn package-all
NOTE: Apple dev account is required for signing build.(Auto-update will not work for unsigned app)
Note: GitHub personal access token is required. You can generate by going to https://github.com/settings/tokens/new. The access token should have the repo scope/permission!
Note: Electron-builder allow configure multiple build targets for the same platform. We used:
- MAC OS - .dmg
- Linux - AppImage
- Windows - NSIS
Release steps:
- Commit new changes to master branch.
- Upgrade build version in 'app/package.json'
- Draft a new release at https://github.com/TallaBotChain/botchain-releases/releases. Set the “Tag version” to the value of version in your application package.json, and prefix it with v.
- run
yarn package-all - run
GH_TOKEN=your_personal_token yarn release - publish release