Publish a winget manifest for Windows installs
Windows is where most people actually install ClipForge (the .exe accounts for the large majority of release downloads), but installing still means finding the releases page and downloading an installer.
A winget manifest would make it:
winget install ClipForge
What's involved
- Write a manifest (
version,installer,localeYAML) for the current release. - Submit a PR to microsoft/winget-pkgs.
wingetcreategenerates most of it from an installer URL. - Optionally add a job to
.github/workflows/release.ymlsowingetcreate updateruns on each release and the manifest never goes stale.
Good first issue because it needs no changes to the app itself, just packaging metadata. The installer is already built and published by the release workflow.
Worth noting the app is not code-signed yet, which winget allows but which does mean a SmartScreen prompt for users.
Picking this up on the ClipForge side: a release-workflow job that can submit installer updates to winget-pkgs, plus docs for the first-time manifest. The first publish to microsoft/winget-pkgs still needs a one-off personal access token (WINGET_TOKEN).
Partly done: #57 is merged, which covers the first and third bullets here.
scripts/print-winget-manifest.mjsgenerates theversion/installer/localeYAML trio from a GitHub release (--out DIRto write files), with unit tests intests/wingetManifest.test.ts..github/workflows/release.ymlhas awingetjob that keeps the manifest current on later releases.docs/winget.mddocuments both paths.
Leaving this open because the second bullet — the actual PR to microsoft/winget-pkgs — has not happened, so winget install JeremySNR.ClipForge does not work yet. That step needs a fork of winget-pkgs and can't be done from this repo.
Remaining, for whoever picks it up:
node scripts/print-winget-manifest.mjs --out .tmp/wingetagainst the latest release.- Submit those three files to
winget-pkgsundermanifests/j/JeremySNR/ClipForge/<version>/(orwingetcreate submit .tmp/winget). - Once the listing is accepted, set the
WINGET_PACKAGE_IDActions variable toJeremySNR.ClipForgeand theWINGET_TOKENsecret — the release job is gated onWINGET_PACKAGE_IDbeing non-empty and stays inert until then.
Two things worth a look before that first submission:
- The release job pins
vedantmgoyal9/winget-releaser@v2, a mutable tag on a third-party action that receivesWINGET_TOKEN. Pinning it to a commit SHA would be the safer call given what that token can do. - The manifest declares
Scope: user, which matches electron-builder's NSIS default (oneClick: true,perMachine: false) as currently configured inpackage.json. If the installer ever becomes per-machine, that field has to change with it.
Generated by Claude Code