From 9762c741b7c9f55158e001cb623309e9b4478b32 Mon Sep 17 00:00:00 2001 From: Krystie Date: Mon, 22 Jun 2026 21:33:13 -0700 Subject: [PATCH] distribute: fix $schema aka.ms URL + add NSIS Silent switches Two errors from PR #391813 manifest validation (build 349844): 1. 'The schema header URL does not match the expected pattern.' I used raw.githubusercontent.com URLs, but the validator wants the aka.ms short URLs that the official winget-bot uses. Updated all 3 files to https://aka.ms/winget-manifest.*.1.12.0.schema.json 2. 'Silent and SilentWithProgress switches are not specified for InstallerType exe.' TrianglesQt installer is built with NSIS (see build-all.yml 'Install NSIS via MSYS2' step + mingw-w64-x86_64-nsis package). NSIS silent flag is /S. Added both Silent and SilentWithProgress. Closes superseded PR microsoft/winget-pkgs#391813 (same Manifest-Validation-Error). --- .github/workflows/distribute.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/distribute.yml b/.github/workflows/distribute.yml index e37c4e7..618c615 100644 --- a/.github/workflows/distribute.yml +++ b/.github/workflows/distribute.yml @@ -540,6 +540,10 @@ jobs: # then publisher folder (PascalCase), then short package folder name. # Example: manifests/c/CryptographicTriangles/TrianglesQt/5.9.20/ MANIFEST_DIR="manifests/$PUBLISHER_INITIAL/CryptographicTriangles/$PACKAGE_SHORT/$VERSION" + + # TrianglesQt is built with NSIS (Nullsoft). Standard silent flag is /S. + # If the installer tech ever changes, update InstallerSwitches here. + NSIS_SILENT="/S" # 1. Clone the winget-pkgs repo (Sami's fork) — auto-create fork if needed echo "Forking microsoft/winget-pkgs..." @@ -575,7 +579,7 @@ jobs: SCHEMA_BASE="https://raw.githubusercontent.com/microsoft/winget-cli/master/schemas/JSON/manifests/v1.12.0" cat > "$MANIFEST_DIR/${PACKAGE_ID}.yaml" < "$MANIFEST_DIR/${PACKAGE_ID}.locale.en-US.yaml" < "$MANIFEST_DIR/${PACKAGE_ID}.installer.yaml" <