Building on Windows
Many of the build scripts are bash scripts and not natively invocable in Windows. To solve this, you can build the project using Git Bash.
- Install Git & Git Bash for Windows
- Ensure you have activated Developer Mode
- Install Node v16.x (latest version 17.x does not work due to issue with crypto package)
- Clone this repo
- Using Git Bash (run as administrator), change to the root of this repo
- From inside the bash shell, run
yarn install
- From still inside the shell, run
yarn start:browser
- Open your browser to http://localhost:3001
How to build the Electron app on Windows
- Follow steps 1 - 6 above.
- Run
yarn start
. If you get an error about bundle.desktop.js, justand rerunCtrlCyarn start
. - If you get an error from electron, run
yarn rebuild-electron
and rerunyarn start
;
Errors
rsync: command not found
If you run into this error, you will need to install the rsync binary to Git Bash. Follow the directions here.
ln: failed to create symbolic link '../../desktop-client/public/kcab': Operation not permitted
Bash needs to be run as administrator.