fix(build): nsis.7z is not a required artifact — Setup exe is the formal Windows product

This commit is contained in:
JianFeeeee
2026-08-30 13:49:34 +08:00
parent 11776024e9
commit 2ebc01e03b

View File

@ -21,12 +21,13 @@ fail() { printf '[verify-dist] FATAL: %s\n' "$*" >&2; exit 1; }
[ -d "$GUI_DIST" ] || fail "no dist dir: $GUI_DIST"
# (glob, min-bytes)
# (glob, min-bytes) — nsis.7z is NOT a required artifact: with `--win nsis` the
# payload is embedded inside the Setup exe and only the exe is the formal product
# (the .nsis.7z appears in intermediate/--dir builds only).
checks=(
"ModelRouter*.AppImage:10000000"
"modelrouter-*.deb:10000000"
"modelrouter-*.rpm:10000000"
"modelrouter-*.nsis.7z:10000000"
"ModelRouter Setup*.exe:5000000"
)