1.1 KiB
1.1 KiB
How to build browser for Windows
Many of the build scripts are bash scripts and not natively invokable in Windows. To solve this, you can build the project using Git Bash.
- Install Git & Git Bash for Windows
- Install Node v16.x (latest version 17.x does not work due to issue with crypto package)
- Clone this repo
- From the root of this repo, run
sh
to launch a bash shell - From inside the bash shell, run
yarn install
- From still inside the shell, run
yarn start:browser
- Open your browser to
localhost:3001
How to build electron for Windows
- Follow steps 1 - 5 above.
- Run
yarn start
- If you get an error from electron, run
yarn rebuild-electron
and rerunyarn start
;
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. When you get to the final step - installing the libxxhash dll - rename the dll from msys-xxhash-0.8.0.dll
to msys-xxhash-0.dll