Skip to content

[Feature] Submit OpenWiki to winget (Windows Package Manager) for winget install openwiki #25

Description

@baoyu0

概述

目前 OpenWiki 在 Windows 上只能通过 GitHub Releases 手动下载 exe 安装。建议提交到 winget 社区仓库(microsoft/winget-pkgs),让用户可以直接 winget install openwiki 安装。

winget 是 Windows 11 / Windows 10 内置的包管理器,无需额外工具即可使用。

操作步骤

1. 确认安装包元数据

字段 值
PackageIdentifier kdsz001.OpenWiki
PackageVersion 0.3.14
InstallerUrl https://github.com/kdsz001/OpenWiki/releases/download/v0.3.14/OpenWiki_0.3.14_x64-setup.exe
InstallerSha256 a7bc1929932934e02185f02ecbe4ebc74e57eb50a89096f1be35be03fafaad50
InstallerType exe(NSIS installer)
ProductCode 需要从已安装的注册表中读取(HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\)

2. 提交流程

  1. Fork microsoft/winget-pkgs
  2. 在 manifests/k/kdsz001/OpenWiki/0.3.14/ 目录下创建以下三个文件:

OpenWiki.installer.yaml

PackageIdentifier: kdsz001.OpenWiki
PackageVersion: 0.3.14
InstallerLocale: en-US
Platform:
  - Windows.Desktop
InstallerType: exe
Scope: machine
InstallModes:
  - silent
  - silentWithProgress
InstallerSwitches:
  Silent: /S
  SilentWithProgress: /S
UpgradeBehavior: install
ReleaseDate: 2026-06-27
Installers:
  - Architecture: x64
    InstallerUrl: https://github.com/kdsz001/OpenWiki/releases/download/v0.3.14/OpenWiki_0.3.14_x64-setup.exe
    InstallerSha256: a7bc1929932934e02185f02ecbe4ebc74e57eb50a89096f1be35be03fafaad50
ManifestType: installer
ManifestVersion: 1.9.0

OpenWiki.locale.en-US.yaml

PackageIdentifier: kdsz001.OpenWiki
PackageVersion: 0.3.14
PackageLocale: en-US
Publisher: OpenWiki
PublisherUrl: https://github.com/kdsz001/OpenWiki
PublisherSupportUrl: https://github.com/kdsz001/OpenWiki/issues
Author: Ray (@BitcoinRui)
PackageName: OpenWiki
PackageUrl: https://github.com/kdsz001/OpenWiki
License: MIT
LicenseUrl: https://github.com/kdsz001/OpenWiki/blob/main/LICENSE
ShortDescription: AI desktop knowledge management tool — capture clipboard, build personal wiki, get AI insights
Description: OpenWiki is a privacy-first desktop AI knowledge management tool. It captures clipboard content, organizes it into a personal wiki with AI assistance, and provides knowledge graph visualization and insight reports. All data stored locally in SQLite.
Moniker: openwiki
Tags:
  - ai
  - clipboard
  - knowledge-management
  - wiki
  - tauri
ManifestType: defaultLocale
ManifestVersion: 1.9.0

OpenWiki.yaml

PackageIdentifier: kdsz001.OpenWiki
PackageVersion: 0.3.14
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.9.0
  1. 提 PR 到 microsoft/winget-pkgs,他们的验证 bot 会自动检查格式和哈希

3. 自动化建议(未来)

每次发版时,可以通过 winget 的 自动化 PR 工具 自动提 PR 更新版本号,无需手动操作。

参考资料

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions