Skip to content

[codex] Add WinGet release packaging support#150

Draft
SirAndrosBot wants to merge 2 commits into
masterfrom
codex/issue-65-winget
Draft

[codex] Add WinGet release packaging support#150
SirAndrosBot wants to merge 2 commits into
masterfrom
codex/issue-65-winget

Conversation

@SirAndrosBot

@SirAndrosBot SirAndrosBot commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Added Build-WinGetPackage.ps1, a release-time script that builds the PLGX, compiles a WinGet-friendly installer, computes SHA256, and generates the three-file WinGet manifest layout.
  • Added WinGet/KeePassWinHelloPlugin.iss, an Inno Setup installer definition that installs KeePassWinHelloPlugin.plgx into the local KeePass 2 Plugins folder and supports silent installation.
  • Added WinGet/README.md with release and microsoft/winget-pkgs submission instructions.
  • Updated the README install section with the eventual package id and command once the manifest is accepted.

Why

Issue #65 asks for WinGet distribution. WinGet cannot install the raw .plgx artifact directly as a KeePass plugin, so this adds a real release path: publish a versioned installer artifact, generate manifests containing InstallerUrl and InstallerSha256, and submit those manifests to the Windows Package Manager Community Repository.

Refs #65

Validation

  • git diff --cached --check passed before commit.
  • PowerShell parser check passed for Build-WinGetPackage.ps1.
  • Dry-run manifest generation passed using dummy PLGX and installer files with -SkipPluginPack -SkipInstallerBuild.

Not run here:

  • Inno Setup compile, because ISCC.exe is not installed in this environment.
  • winget validate, because winget is not installed in this environment.
  • Full plugin packaging/build, because this checkout does not have lib\KeePass.exe.

@sonarqubecloud

Copy link
Copy Markdown

@SirAndrosBot SirAndrosBot changed the title [codex] Document winget distribution requirements [codex] Add WinGet release packaging support Jun 20, 2026
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.

2 participants