mirror of
https://github.com/YuzuZensai/Discord-Presence-Relay.git
synced 2026-09-13 17:01:36 +00:00
🔧 chore: Rename to Discord Presence Relay
This commit is contained in:
@@ -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-<version>.AppImage`.
|
||||
1. Download `discord-presence-relay-<version>.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-<version>.deb`.
|
||||
1. Download `discord-presence-relay-<version>.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-<version>.dmg` and open it.
|
||||
2. Drag **Discord RPC Relay** into the **Applications** folder.
|
||||
1. Download `discord-presence-relay-<version>.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.
|
||||
|
||||
+3
-3
@@ -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}',
|
||||
|
||||
+2
-2
@@ -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": "",
|
||||
|
||||
+4
-4
@@ -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)
|
||||
|
||||
@@ -288,7 +288,7 @@ export function App(): React.JSX.Element {
|
||||
if (status.unsupported) {
|
||||
return (
|
||||
<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>
|
||||
</div>
|
||||
)
|
||||
@@ -375,7 +375,7 @@ export function App(): React.JSX.Element {
|
||||
return (
|
||||
<div className="flex flex-col h-screen p-5 gap-4">
|
||||
<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
|
||||
variant="ghost"
|
||||
onClick={() => setView('settings')}
|
||||
|
||||
Reference in New Issue
Block a user