Skip to content

Windows release zips, Scoop and winget manifests, version 0.2.0 - #4

Merged
Kernel-Hunter merged 5 commits into
mainfrom
windows-release
Oct 11, 2026
Merged

Kernel-Hunter merged 5 commits into
mainfrom
windows-release

Conversation

@Kernel-Hunter

@Kernel-Hunter Kernel-Hunter commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

This makes the Windows CLI something you can download and run without Swift installed.

On a v* tag, release.yml now also builds mudroom.exe in release mode on windows-latest (x86_64) and windows-11-arm (arm64). Once the macOS job has created the release, it attaches mudroom--windows-.zip and a .sha256 for each. The macOS job itself is unchanged.

Each zip holds a folder with mudroom.exe, the Swift runtime DLLs and the VC++ runtime: 15 DLLs, about 29 MB zipped. scripts/windows-package.ps1 builds the list by following dumpbin /dependents from the exe, so nothing is hard-coded. Static linking doesn't work with this toolchain. --static-swift-stdlib builds, but the exe still imports swiftCore.dll, and -Xswiftc -static-stdlib fails because the Windows SDK has no static libraries.

A reusable workflow, windows-zip.yml, builds both zips on every PR. It then unzips each one on a fresh runner that never had Swift installed and runs --version, --help and the existing smoke test. It also renames swiftCore.dll and checks that the exe stops starting, so we know it loads the copy in the zip. The release workflow runs the same jobs before it uploads anything.

windows-latest has nested virtualization, so WSL 2 and a Podman machine run there. The new windows-sandbox job runs the x86_64 zip against a Podman machine: network check in open mode, then a session running sh -c 'echo hi > hello.txt', then diff and apply. Locked mode isn't covered. Its network check hangs after "checking locked network with podman...", and WSL mirrored networking isn't supported on the runner (0x803b0015). The arm64 runner can't run WSL or a Hyper-V VM at all.

There's a Scoop manifest in packaging/scoop/mudroom.json and a winget manifest set in packaging/winget/. Their hashes are zeros until the release exists; scripts/update-windows-manifests.sh 0.2.0 fills them in from the release.

The README gets a Windows install section, an updated requirements table and an updated list of Windows limits.

The version is now 0.2.0 in Sources/mudroom/Version.swift, which is where the app's Info.plist gets its version at build time. The Homebrew cask stays at 0.1.1 because its sha256 can only be filled in after the release (scripts/update-cask.sh 0.2.0 --remote).

Still to do by hand:

  • a locked-mode session with Docker Desktop on a Windows PC (scripts/windows-sandbox-check.ps1 mudroom.exe docker)
  • creating the Kernel-Hunter/scoop-bucket repo

@Kernel-Hunter
Kernel-Hunter marked this pull request as ready for review October 11, 2026 16:07
@Kernel-Hunter
Kernel-Hunter merged commit f9153c4 into main Oct 11, 2026
10 checks passed
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