Skip to content

Commit 454dcfd

Browse files
Elc3rNextFire
authored andcommitted
fix: support Vesktop Discord client
The Discord client check added in c4138cb only looks for the official Discord process names before attempting the RPC connection. That regressed compatibility with third-party clients that expose the same IPC interface but run under different macOS process names. Add Vesktop to the supported client process names so the RPC connection is attempted when Vesktop is running.
1 parent 7c8977a commit 454dcfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

music-rpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ function isDiscordRunning(): Promise<boolean> {
233233
return clientNames.some((clientName) =>
234234
systemEvents.processes[clientName]?.exists()
235235
);
236-
}, ["Discord", "Discord PTB", "Discord Canary"]);
236+
}, ["Discord", "Discord PTB", "Discord Canary", "Vesktop"]);
237237
}
238238

239239
function isMusicRunning(appName: iTunesAppName): Promise<boolean> {

0 commit comments

Comments
 (0)