🐛 fix: Correct depends_on macos syntax, document brew trust

This commit is contained in:
2026-07-25 15:00:42 +07:00
parent 6f2b9574a9
commit 1919211311
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ cask "discord-presence-relay" do
homepage "https://github.com/YuzuZensai/Discord-RPC-Relay" homepage "https://github.com/YuzuZensai/Discord-RPC-Relay"
auto_updates false auto_updates false
depends_on macos: ">= :big_sur" depends_on macos: :big_sur
app "Discord Presence Relay.app" app "Discord Presence Relay.app"
@@ -27,7 +27,7 @@ cask "discord-presence-relay" do
caveats do caveats do
<<~EOS <<~EOS
#{token} is not notarized. The quarantine attribute is cleared #{token} is not notarized. The quarantine attribute is cleared
automatically on install; if macOS still refuses to open it automatically on install, if macOS still refuses to open it
("app is damaged and can't be opened"), run: ("app is damaged and can't be opened"), run:
xattr -cr "#{appdir}/Discord Presence Relay.app" xattr -cr "#{appdir}/Discord Presence Relay.app"
EOS EOS
+4
View File
@@ -52,9 +52,13 @@ settings once it's running.
```bash ```bash
brew tap yuzuzensai/discord-rpc-relay https://github.com/YuzuZensai/Discord-RPC-Relay brew tap yuzuzensai/discord-rpc-relay https://github.com/YuzuZensai/Discord-RPC-Relay
brew trust yuzuzensai/discord-rpc-relay
brew install --cask discord-presence-relay brew install --cask discord-presence-relay
``` ```
`brew trust` is required once per tap, Homebrew blocks installing from
third-party taps until you explicitly trust them.
The cask clears the Gatekeeper quarantine attribute automatically after The cask clears the Gatekeeper quarantine attribute automatically after
install, so the app opens normally right away. install, so the app opens normally right away.