Skip to content

Add Homebrew cask installation support - #3

Open
liuwenbo0 wants to merge 1 commit into
TY-teo:mainfrom
liuwenbo0:feat/homebrew-install
Open

liuwenbo0 wants to merge 1 commit into
TY-teo:mainfrom
liuwenbo0:feat/homebrew-install

Conversation

@liuwenbo0

@liuwenbo0 liuwenbo0 commented Oct 22, 2026 •

Copy link
Copy Markdown

StayAwake currently requires a manual DMG download. Add a Homebrew cask so this repository can also serve as a tap:

brew tap TY-teo/stayawake https://github.com/TY-teo/StayAwake.git
brew install --cask TY-teo/stayawake/stayawake

The cask pins the verified v1.0.0 checksum, requires Apple Silicon and macOS 26+ to match the published DMG, and includes app uninstall, optional preference cleanup, and first-launch and removal notes. The README documents installation, upgrades, and removal, and corrects the published binary's Intel compatibility claim.

Validation:

  • brew style Casks/stayawake.rb and git diff --cached --check passed.
  • brew audit --cask --strict --online TY-teo/stayawake/stayawake passed using a temporary local tap.
  • Installed with --require-sha into a temporary app directory, verified the installed bundle with codesign --verify --deep --strict, and successfully uninstalled it.

Closes #2

This branch has not been deployed

No deployments
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.

希望提供brew安装方式

1 participant