🔧 chore: Rename to Discord Presence Relay

This commit is contained in:
2026-07-25 13:42:39 +07:00
parent d046257205
commit 181a8f4325
5 changed files with 24 additions and 24 deletions
+13 -13
View File
@@ -1,6 +1,6 @@
# 🪩 Discord-RPC-Relay # 🪩 Discord-Presence-Relay
Mirrors Discord Rich Presence (RPC) activity to every running Discord Mirrors Discord Rich Presence activity to every running Discord
instance (stable, PTB, Canary, ...), so apps that only connect to the instance (stable, PTB, Canary, ...), so apps that only connect to the
primary `discord-ipc-0` socket show their presence everywhere. primary `discord-ipc-0` socket show their presence everywhere.
@@ -15,16 +15,16 @@ Linux and macOS only.
## Install ## Install
Download the latest build for your platform from the Download the latest build for your platform from the
[Releases page](https://github.com/YuzuZensai/Discord-RPC-Relay/releases). [Releases page](https://github.com/YuzuZensai/Discord-Presence-Relay/releases).
### Linux (AppImage) ### Linux (AppImage)
1. Download `discord-rpc-relay-<version>.AppImage`. 1. Download `discord-presence-relay-<version>.AppImage`.
2. Make it executable and run it: 2. Make it executable and run it:
```bash ```bash
chmod +x discord-rpc-relay-*.AppImage chmod +x discord-presence-relay-*.AppImage
./discord-rpc-relay-*.AppImage ./discord-presence-relay-*.AppImage
``` ```
The app runs from the tray. To launch it automatically and have it appear in The app runs from the tray. To launch it automatically and have it appear in
@@ -34,24 +34,24 @@ settings once it's running.
### Linux (.deb) ### Linux (.deb)
1. Download `discord-rpc-relay-<version>.deb`. 1. Download `discord-presence-relay-<version>.deb`.
2. Install it: 2. Install it:
```bash ```bash
sudo apt install ./discord-rpc-relay-*.deb sudo apt install ./discord-presence-relay-*.deb
``` ```
3. Launch it from your application menu ("Discord RPC Relay"), or from a 3. Launch it from your application menu ("Discord Presence Relay"), or from a
terminal: terminal:
```bash ```bash
discord-rpc-relay discord-presence-relay
``` ```
### macOS ### macOS
1. Download `discord-rpc-relay-<version>.dmg` and open it. 1. Download `discord-presence-relay-<version>.dmg` and open it.
2. Drag **Discord RPC Relay** into the **Applications** folder. 2. Drag **Discord Presence Relay** into the **Applications** folder.
3. Clear the Gatekeeper quarantine attribute before first launch (see below), 3. Clear the Gatekeeper quarantine attribute before first launch (see below),
then open the app from Applications/Launchpad/Spotlight as usual. then open the app from Applications/Launchpad/Spotlight as usual.
@@ -66,7 +66,7 @@ developer"). After installing, clear the quarantine attribute from the
Terminal: Terminal:
```bash ```bash
xattr -cr /Applications/Discord\ RPC\ Relay.app xattr -cr /Applications/Discord\ Presence\ Relay.app
``` ```
Then open the app normally. Then open the app normally.
+3 -3
View File
@@ -15,8 +15,8 @@ process.env.BUILD_VERSION = getBuildVersion()
* @type {import('electron-builder').Configuration} * @type {import('electron-builder').Configuration}
*/ */
export default { export default {
appId: 'cafe.kirameki.discord-rpc-relay', appId: 'cafe.kirameki.discord-presence-relay',
productName: 'Discord RPC Relay', productName: 'Discord Presence Relay',
files: [ files: [
'!**/.vscode/*', '!**/.vscode/*',
'!src/*', '!src/*',
@@ -28,7 +28,7 @@ export default {
], ],
asarUnpack: ['resources/**'], asarUnpack: ['resources/**'],
win: { win: {
executableName: 'discord-rpc-relay' executableName: 'discord-presence-relay'
}, },
nsis: { nsis: {
artifactName: '${name}-${env.BUILD_VERSION}-setup.${ext}', artifactName: '${name}-${env.BUILD_VERSION}-setup.${ext}',
+2 -2
View File
@@ -1,7 +1,7 @@
{ {
"name": "discord-rpc-relay", "name": "discord-presence-relay",
"version": "1.0.0", "version": "1.0.0",
"description": "Mirrors Discord Rich Presence (RPC) to multiple running Discord instances", "description": "Mirrors Discord Rich Presence to multiple running Discord instances",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"packageManager": "pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72", "packageManager": "pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72",
"author": "", "author": "",
+4 -4
View File
@@ -53,7 +53,7 @@ const LINUX_AUTOSTART_DESKTOP_FILE = join(
app.getPath('home'), app.getPath('home'),
'.config', '.config',
'autostart', 'autostart',
'cafe.kirameki.discord-rpc-relay.desktop' 'cafe.kirameki.discord-presence-relay.desktop'
) )
function getLinuxAutostart(): boolean { function getLinuxAutostart(): boolean {
@@ -71,7 +71,7 @@ function setLinuxAutostart(enabled: boolean, startMinimized: boolean): boolean {
const desktopEntry = [ const desktopEntry = [
'[Desktop Entry]', '[Desktop Entry]',
'Type=Application', 'Type=Application',
'Name=Discord RPC Relay', 'Name=Discord Presence Relay',
`Exec=${exec}`, `Exec=${exec}`,
'Terminal=false', 'Terminal=false',
'X-GNOME-Autostart-enabled=true' 'X-GNOME-Autostart-enabled=true'
@@ -152,7 +152,7 @@ function createWindow(): void {
function createTray(): void { function createTray(): void {
const trayIcon = nativeImage.createFromPath(icon).resize({ width: 24, height: 24 }) const trayIcon = nativeImage.createFromPath(icon).resize({ width: 24, height: 24 })
tray = new Tray(trayIcon) tray = new Tray(trayIcon)
tray.setToolTip('Discord RPC Relay') tray.setToolTip('Discord Presence Relay')
updateTrayMenu(relay.getStatus()) updateTrayMenu(relay.getStatus())
@@ -210,7 +210,7 @@ app.on('second-instance', () => {
}) })
app.whenReady().then(() => { app.whenReady().then(() => {
electronApp.setAppUserModelId('cafe.kirameki.discord-rpc-relay') electronApp.setAppUserModelId('cafe.kirameki.discord-presence-relay')
app.on('browser-window-created', (_, window) => { app.on('browser-window-created', (_, window) => {
optimizer.watchWindowShortcuts(window) optimizer.watchWindowShortcuts(window)
+2 -2
View File
@@ -288,7 +288,7 @@ export function App(): React.JSX.Element {
if (status.unsupported) { if (status.unsupported) {
return ( return (
<div className="flex flex-col h-screen items-center justify-center p-5 gap-3 text-center"> <div className="flex flex-col h-screen items-center justify-center p-5 gap-3 text-center">
<h1 className="text-lg font-semibold">Discord RPC Relay</h1> <h1 className="text-lg font-semibold">Discord Presence Relay</h1>
<p className="text-sm text-zinc-400">Windows is not supported.</p> <p className="text-sm text-zinc-400">Windows is not supported.</p>
</div> </div>
) )
@@ -375,7 +375,7 @@ export function App(): React.JSX.Element {
return ( return (
<div className="flex flex-col h-screen p-5 gap-4"> <div className="flex flex-col h-screen p-5 gap-4">
<header className="flex items-center justify-between gap-3"> <header className="flex items-center justify-between gap-3">
<h1 className="text-lg font-semibold">Discord RPC Relay</h1> <h1 className="text-lg font-semibold">Discord Presence Relay</h1>
<Button <Button
variant="ghost" variant="ghost"
onClick={() => setView('settings')} onClick={() => setView('settings')}