From 181a8f4325f60a589fcd1bc5481788b2ca0c8a17 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sat, 25 Jul 2026 13:42:18 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Rename=20to=20Discord?= =?UTF-8?q?=20Presence=20Relay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 26 +++++++++++++------------- electronBuilder.mjs | 6 +++--- package.json | 4 ++-- src/main/index.ts | 8 ++++---- src/renderer/src/App.tsx | 4 ++-- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 1a66de0..63195e8 100644 --- a/README.md +++ b/README.md @@ -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 primary `discord-ipc-0` socket show their presence everywhere. @@ -15,16 +15,16 @@ Linux and macOS only. ## Install 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) -1. Download `discord-rpc-relay-.AppImage`. +1. Download `discord-presence-relay-.AppImage`. 2. Make it executable and run it: ```bash - chmod +x discord-rpc-relay-*.AppImage - ./discord-rpc-relay-*.AppImage + chmod +x discord-presence-relay-*.AppImage + ./discord-presence-relay-*.AppImage ``` 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) -1. Download `discord-rpc-relay-.deb`. +1. Download `discord-presence-relay-.deb`. 2. Install it: ```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: ```bash - discord-rpc-relay + discord-presence-relay ``` ### macOS -1. Download `discord-rpc-relay-.dmg` and open it. -2. Drag **Discord RPC Relay** into the **Applications** folder. +1. Download `discord-presence-relay-.dmg` and open it. +2. Drag **Discord Presence Relay** into the **Applications** folder. 3. Clear the Gatekeeper quarantine attribute before first launch (see below), then open the app from Applications/Launchpad/Spotlight as usual. @@ -66,7 +66,7 @@ developer"). After installing, clear the quarantine attribute from the Terminal: ```bash -xattr -cr /Applications/Discord\ RPC\ Relay.app +xattr -cr /Applications/Discord\ Presence\ Relay.app ``` Then open the app normally. diff --git a/electronBuilder.mjs b/electronBuilder.mjs index 81dd832..39f7fe0 100644 --- a/electronBuilder.mjs +++ b/electronBuilder.mjs @@ -15,8 +15,8 @@ process.env.BUILD_VERSION = getBuildVersion() * @type {import('electron-builder').Configuration} */ export default { - appId: 'cafe.kirameki.discord-rpc-relay', - productName: 'Discord RPC Relay', + appId: 'cafe.kirameki.discord-presence-relay', + productName: 'Discord Presence Relay', files: [ '!**/.vscode/*', '!src/*', @@ -28,7 +28,7 @@ export default { ], asarUnpack: ['resources/**'], win: { - executableName: 'discord-rpc-relay' + executableName: 'discord-presence-relay' }, nsis: { artifactName: '${name}-${env.BUILD_VERSION}-setup.${ext}', diff --git a/package.json b/package.json index 71f6575..9b94113 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "discord-rpc-relay", + "name": "discord-presence-relay", "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", "packageManager": "pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72", "author": "", diff --git a/src/main/index.ts b/src/main/index.ts index ac44aa9..74fd1f1 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -53,7 +53,7 @@ const LINUX_AUTOSTART_DESKTOP_FILE = join( app.getPath('home'), '.config', 'autostart', - 'cafe.kirameki.discord-rpc-relay.desktop' + 'cafe.kirameki.discord-presence-relay.desktop' ) function getLinuxAutostart(): boolean { @@ -71,7 +71,7 @@ function setLinuxAutostart(enabled: boolean, startMinimized: boolean): boolean { const desktopEntry = [ '[Desktop Entry]', 'Type=Application', - 'Name=Discord RPC Relay', + 'Name=Discord Presence Relay', `Exec=${exec}`, 'Terminal=false', 'X-GNOME-Autostart-enabled=true' @@ -152,7 +152,7 @@ function createWindow(): void { function createTray(): void { const trayIcon = nativeImage.createFromPath(icon).resize({ width: 24, height: 24 }) tray = new Tray(trayIcon) - tray.setToolTip('Discord RPC Relay') + tray.setToolTip('Discord Presence Relay') updateTrayMenu(relay.getStatus()) @@ -210,7 +210,7 @@ app.on('second-instance', () => { }) app.whenReady().then(() => { - electronApp.setAppUserModelId('cafe.kirameki.discord-rpc-relay') + electronApp.setAppUserModelId('cafe.kirameki.discord-presence-relay') app.on('browser-window-created', (_, window) => { optimizer.watchWindowShortcuts(window) diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index 336b3f0..f6e678a 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -288,7 +288,7 @@ export function App(): React.JSX.Element { if (status.unsupported) { return (
-

Discord RPC Relay

+

Discord Presence Relay

Windows is not supported.

) @@ -375,7 +375,7 @@ export function App(): React.JSX.Element { return (
-

Discord RPC Relay

+

Discord Presence Relay