A cross platform desktop application to view profile data of behavior tree which is built by Electron.
git clone https://github.com/adonis0147/profile-viewer
cd profile-viewer
npm install
electron .
- Open
examples/example.json
- View it
- To speed up the downloads, you can change the npm registry to a suitable one. For example, in China, you can type the following command to change the registry.
npm config set registry https://registry.npm.taobao.org
- You can also change the Electron mirror.
For example, in China, you can add the following code to
.bash_profile
.
export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
npm install -g electron-packager-interactive
epi .
More details can be found in Application Distribution.