- Install Node.js
nvm install
- Install pnpm
npm install -g pnpm
- Install dependencies
make init
- Start the dev server
make dev-server
- Run
make dev-client
Note: The NW.js SDK needs to be downloaded the first time make dev-client
runs, and may take some time to complete.
Developing for Android requires JDK 11, gradle, and Android SDK 33.
- Start an Android emulator or connect a physical device with debugging enabled
- Set a version for the application
SEMVER=2.1.0-dev make version
- Run
make android
- Open
chrome://inspect/#devices
in a Chrome browser to debug
Tasks are defined in gulpfile.mjs
and can be run with pnpm.
pnpm gulp <task> [--debug] [--platform <platform>] [--arch <arch>]
<task>
bundle
bundles the source files into./bundle
.app
builds the application in./app
.redist
creates redistributable archives in./redist
.
--debug
Outputs builds that can be debugged with Chrome DevTools or an Android debugger.
<platform>
Defaults to the host platform.
- linux
- osx
- win
- android
<arch>
Defaults to the host architecture.
- x86
- x86_64
- arm64