mirror of
https://github.com/wazero/wazero
synced 2026-06-21 14:12:37 +00:00
6f0b85a451
Cross-platform msitools do not support the `Environment` directive, which should be the proper way to update %PATH%, so we adapt the Makefile to assume a Windows environment when building, addressing #1374. `make dist` now runs on all platforms, but on Windows, assuming `candle.exe`, `light.exe` and GNU `tar` are installed, it builds all tarballs, zip and msi packages. On other platforms it will only build the tarballs. We also address some other issues with msitools and change the GUID for UpgradeCode which caused the wazero package to be mistaken for func-e when installing/uninstalling both on the same machine. Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>