[feature] Add brew cask install option#322
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 317452d287
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
PR Reviewer Guide 🔍(Review updated until commit 2b7247c)Here are some key observations to aid the review process:
|
Add Casks/openless.rb 添加相关README说明 修改github ci支持发布版本自动更新Casks/openless.rb
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b7247c948
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| uses: actions/checkout@v4 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Check out a branch before pushing cask updates
When this workflow runs from release.published, GitHub documents GITHUB_REF as the release tag (refs/tags/<tag_name>), and actions/checkout defaults to the event ref; this leaves the job on a detached tag checkout. The later git commit succeeds, but git push without a refspec then fails with “You are not currently on a branch”, so every release that needs a cask checksum bump will leave Casks/openless.rb stale unless the checkout targets the tap branch (or the push uses an explicit HEAD:<branch> refspec).
Useful? React with 👍 / 👎.
|
Persistent review updated to latest commit 2b7247c |
|
OK,我看到这个 PR 了,请让我审核一下。 |
User description
摘要
Close issues #254 #5
注意事项
测试计划
已经在本地进行测试,成功安装、使用、卸载
PR Type
Enhancement, Documentation
Description
Added
Casks/openless.rbHomebrew Cask for easy macOS installation and updatesCreated
.github/workflows/update-cask.ymlto auto-update Cask version and checksums on releaseAdded
Formula/openless.rbfor building from source (experimental, may require review)Updated English and Chinese READMEs with
brew tap/install --caskinstructionsDiagram Walkthrough
File Walkthrough
update-cask.yml
Automate Cask version and SHA256 updates on release.github/workflows/update-cask.yml
v*-tauritagsCasks/openless.rbopenless.rb
Add Homebrew Cask definition for OpenLessCasks/openless.rb
openlessCask with arm64 and x64 DMG download URLs1.2.22and matching SHA256 checksumsauto_updates trueand declareszappaths for user data cleanuplivecheckblock for future version detectionopenless.rb
Add Homebrew Formula for building from sourceFormula/openless.rb
OpenlessFormula building Tauri app from sourceqwen-asrsubmodule as a resource for local ASRAPPLE_SIGNING_IDENTITY=-) and installs.app bundle
README.md
Document Homebrew installation in English READMEREADME.md
brew tap,brew install --cask openless, and upgrade commandsxattr -crstep for ad-hoc signed appREADME.zh.md
Document Homebrew installation in Chinese READMEREADME.zh.md