Author SHA1 Message Date
dependabot[bot]andGitHub 3ab4fbc582 build(deps-dev): bump vite from 8.1.5 to 8.2.0
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.1.5 to 8.2.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@8.2.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-03 15:46:15 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
debdb9869e build(deps-dev): bump @vitejs/plugin-react from 6.0.3 to 6.0.4 (#15)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.4/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-27 13:32:33 +07:00
yuzu 1919211311 🐛 fix: Correct depends_on macos syntax, document brew trust 2026-07-25 15:00:42 +07:00
yuzu 6f2b9574a9 feat: Add Homebrew cask, self-tap this repo 2026-07-25 14:04:26 +07:00
6 changed files with 347 additions and 259 deletions
+36
View File
@@ -123,3 +123,39 @@ jobs:
dist/*.AppImage
dist/*.deb
generate_release_notes: true
update-cask:
needs: release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v5
with:
ref: main
- name: Compute DMG sha256
id: sha
run: |
version="${GITHUB_REF_NAME}"
url="https://github.com/${GITHUB_REPOSITORY}/releases/download/${version}/discord-presence-relay-${version}.dmg"
curl -sL -o dpr.dmg "$url"
echo "value=$(shasum -a 256 dpr.dmg | cut -d ' ' -f1)" >> "$GITHUB_OUTPUT"
- name: Update cask
run: |
version="${GITHUB_REF_NAME}"
sed -i "s/version \".*\"/version \"${version}\"/" Casks/discord-presence-relay.rb
sed -i "s/sha256 \".*\"/sha256 \"${{ steps.sha.outputs.value }}\"/" Casks/discord-presence-relay.rb
- name: Commit and push
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add Casks/discord-presence-relay.rb
git diff --cached --quiet && exit 0
git commit -m "Update discord-presence-relay to ${GITHUB_REF_NAME}"
git push origin HEAD:main
+35
View File
@@ -0,0 +1,35 @@
cask "discord-presence-relay" do
version "1.2.0"
sha256 "3a7d83639f5f5fb5f9689866c4f96405a36f26bbe92891f444d62ec93df2c134"
url "https://github.com/YuzuZensai/Discord-RPC-Relay/releases/download/#{version}/discord-presence-relay-#{version}.dmg"
name "Discord Presence Relay"
desc "Mirrors Discord Rich Presence to every running Discord instance"
homepage "https://github.com/YuzuZensai/Discord-RPC-Relay"
auto_updates false
depends_on macos: :big_sur
app "Discord Presence Relay.app"
postflight do
system_command "/usr/bin/xattr",
args: ["-cr", "#{appdir}/Discord Presence Relay.app"],
sudo: false
end
zap trash: [
"~/Library/Application Support/Discord Presence Relay",
"~/Library/Preferences/cafe.kirameki.discord-presence-relay.plist",
"~/Library/Saved Application State/cafe.kirameki.discord-presence-relay.savedState"
]
caveats do
<<~EOS
#{token} is not notarized. The quarantine attribute is cleared
automatically on install, if macOS still refuses to open it
("app is damaged and can't be opened"), run:
xattr -cr "#{appdir}/Discord Presence Relay.app"
EOS
end
end
+15 -1
View File
@@ -48,7 +48,21 @@ settings once it's running.
discord-presence-relay
```
### macOS
### macOS (Homebrew)
```bash
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 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
install, so the app opens normally right away.
### macOS (manual)
1. Download `discord-presence-relay-<version>.dmg` and open it.
2. Drag **Discord Presence Relay** into the **Applications** folder.
+1
View File
@@ -20,6 +20,7 @@ export default {
files: [
'!**/.vscode/*',
'!src/*',
'!Casks/*',
'!electron.vite.config.{js,ts,mjs,cjs}',
'!electronBuilder.mjs',
'!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}',
+2 -2
View File
@@ -38,7 +38,7 @@
"@types/node": "^26.1.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"@vitejs/plugin-react": "^6.0.4",
"electron": "^43.2.0",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
@@ -46,6 +46,6 @@
"prettier": "^3.9.6",
"tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
"vite": "^8.1.5"
"vite": "^8.2.0"
}
}
+258 -256
View File
File diff suppressed because it is too large Load Diff