$ cd launcher
# using yarn or npm
$ yarn (or `npm install`)
$ npx electron-builder create-self-signed-cert -p MineLegion
# this will generate you a MineLegion.pkv file
# you must point an environment variable (CSC_LINK) to this file
# development mode
$ yarn dev (or `npm run dev` or `pnpm run dev`)
# production build
$ yarn build (or `npm run build` or `pnpm run build`)
- Create a Github personal token with permissions to create builds in the repo specified in
package.json
- Set up an environment variable named
GH_TOKEN
with the newly generated token's value - Set up a code signing certificate via
CSC_LINK
envorinment variable as specified above (optional) - Run
npm run publish
in your command prompt - Publish the draft release in Github Releases UI
This project is intended to be used for online mode, so please try to use a paid version of the game. The offline mode usage is purely for debugging purposes.