Skip to content

Publish the Windows App SDK bootstrapper with each release - #10

Merged
greenhat616 merged 1 commit into
mainfrom
ci/publish-bootstrapper
Oct 28, 2026
Merged

greenhat616 merged 1 commit into
mainfrom
ci/publish-bootstrapper

Conversation

@greenhat616

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #9; this commit was pushed after #9 had been merged.

  • Each release also publishes Microsoft.WindowsAppRuntime.Bootstrap-<target>.dll and a .sha256 in the executable's format. Builds before Windows 11 24H1 load it beside enableLoopback.exe, and clash-nyanpasu bundles it there.
  • The release job downloads Microsoft.WindowsAppSDK.Foundation 2.3.12 from NuGet. That is the Foundation version pinned by Windows App SDK 2.5.1, which the reactor runtime pin follows.
  • It extracts the per-architecture DLL, checks a pinned SHA-256, and checks that the DLL carries a valid Microsoft Corporation Authenticode signature. Any mismatch fails the job.
  • The README describes the published asset.

Pinned values:

SHA-256 Size
x64 e4acd665ff39f8a0d591459bd5901482e71b4ffbe644f421ffad9431b5fed438 394,040
arm64 23f923b26fe622de4f460d60d69e41599de892e63fdcaf204caedb2a6f1af0ff 402,232

Both DLLs report FileVersion 2.0 and are signed by Microsoft Corporation (Microsoft Code Signing PCA 2024). The nupkg's SHA-512 matches the NuGet catalog entry.

Refs #8.

Test plan

  • Ran the staging step's script locally in pwsh 7 for x64 and arm64: assets and checksum files match the executable's <hash> <name>\n format
  • A wrong pinned hash fails the step
  • First tagged release publishes both DLLs and checksums

Builds before Windows 11 24H1 need Microsoft.WindowsAppRuntime.Bootstrap.dll
beside the executable. The release job takes it from the pinned
Microsoft.WindowsAppSDK.Foundation package, checks its SHA-256 and Microsoft
signature, and uploads it with a checksum in the executable's format.
@semanticdiff-com

semanticdiff-com Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/release.yml  5% smaller
  README.md Unsupported file format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant