From 2ebc01e03b3abaea77af258e6fb68f25da41b2db Mon Sep 17 00:00:00 2001 From: JianFeeeee Date: Sun, 30 Aug 2026 13:49:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(build):=20nsis.7z=20is=20not=20a=20required?= =?UTF-8?q?=20artifact=20=E2=80=94=20Setup=20exe=20is=20the=20formal=20Win?= =?UTF-8?q?dows=20product?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packaging/verify-dist.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/verify-dist.sh b/packaging/verify-dist.sh index 9e64a4a..9e1ef8b 100755 --- a/packaging/verify-dist.sh +++ b/packaging/verify-dist.sh @@ -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" )