Feat: produce an .msi for windows CI
Some checks failed
CI / check (ubuntu-latest, x86_64-unknown-linux-gnu) (push) Failing after 1m27s
Deploy Website / deploy (push) Has been skipped
CI / check (macos-14, aarch64-apple-darwin) (push) Has been cancelled
CI / check (windows-latest, x86_64-pc-windows-msvc) (push) Has been cancelled

This commit is contained in:
2026-02-28 03:33:54 +01:00
parent 7099501130
commit 5310b98542
4 changed files with 190 additions and 0 deletions

View File

@@ -322,6 +322,13 @@ copy_artifacts() {
fi
fi
# MSI installer for Windows targets
if [[ "$os" == "windows" ]] && command -v cargo-wix &>/dev/null; then
echo " Building MSI installer..."
cargo wix --no-build --nocapture -C -p -C x64
cp target/wix/*.msi "$OUT/" 2>/dev/null && echo " MSI -> $OUT/" || true
fi
# AppImage for Linux targets
if [[ "$os" == "linux" ]]; then
if $build_cagire; then