Skip to content

[infra/devex] 提供官方 Homebrew Cask,简化 macOS 安装与版本更新 #254

Closed

Description

@nasymonk

现象

当前 macOS 用户安装和更新 OpenLess 均需手动从 GitHub Releases 下载 DMG 文件,操作不便。macOS 开发者社区普遍使用 Homebrew 管理软件安装,OpenLess 目前不支持。

影响

  • 用户获取新版本的延迟增加,容易长期停留在旧版本。
  • 无法通过脚本批量安装和更新,团队部署不便。

建议接受标准

  • 提供 Homebrew Cask:用户可通过 brew install --cask openless(官方 cask)或 brew install appergb/tap/openless(自建 tap)完成安装。
  • 支持 brew upgrade openless 更新到最新版本。
  • Cask 中正确配置 zap 卸载项,清理 ~/.openless/、Keychain 凭据等用户数据。
  • 在项目 README 的「Download and install」部分补充 Homebrew 安装方式。
  • CI 流程中新增步骤:Release 发布后自动更新 Cask 中的版本号和 SHA256。

TODO / 不确定项

  • 官方 homebrew-cask 对 Cask 的接受标准较严格(要求有一定知名度和用户量),当前 723 stars 可能需要继续积累。自建 tap 作为过渡方案更灵活。
  • macOS 的 Accessibility 权限在 Homebrew 安装路径下是否需要额外提示,需验证。

Activity

  1. appergb commented on May 4, 2026

    @appergb
    Collaborator

    ok 收到反馈了,后续会加入计划的。

  2. added a commit that references this issue on May 7, 2026
    9543a5a
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions