On Windows 10 + WSL:
- Install and setup Golang on your Linux environment.
- Install go-msi https://github.com/mh-cbon/go-msi via an MSI to your Windows environment.
- Install WiX Toolset https://wixtoolset.org/releases/ to your Windows environment.
- Set PATH to go-msi (ex.
C:\Program Files\go-msi
) and WiX Toolse (ex.C:\Program Files (x86)\WiX Toolset v3.11\bin
). - Run
make host
. Then.exe
files and a batch file to build MSI will be generated. - Double-click the generated
webextensions\native-messaging-host\build_msi.bat
on your Windows environment. Then two MSIs will be generated.