This is the desktop app that builds on the core NiiVue WebGL 2.0 medical image viewer.
git clone --recurse-submodules [email protected]:niivue/niivue-desktop.git
cd niivue-desktop
npm install
note that the electron code does not offer hot reload. Hot reload only applies to the UI if you make changes to those files while the app is running.
# You MUST supply the path to the niivue library on your system
# for example if you cloned niivue to ~/github/niivue/niivue
export NIIVUE_PATH=$HOME/github/niivue/niivue; npm run dev
does not zip for distribution, just makes an app that can be run outside of dev mode
# You MUST supply the path to the niivue library on your system
# for example if you cloned niivue to ~/github/niivue/niivue
export NIIVUE_PATH=$HOME/github/niivue/niivue; npm run package
creates a zip to share
# You MUST supply the path to the niivue library on your system
# for example if you cloned niivue to ~/github/niivue/niivue
export NIIVUE_PATH=$HOME/github/niivue/niivue; npm run make