Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Support for Discord Canary and PTB in Rich Presence #7

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

Paillat-dev
Copy link
Contributor

Hi there,

I've submitted a pull request to address issue #6 I opened myself where the Rich Presence feature was not functioning correctly with Discord's Canary build.

Problem:
The discordProcessList() function in ProcessListFunc.java was checking for only the "Discord.exe" process, which corresponds to Discord's stable release, but not the Canary or PTB versions.

Solution:
I've updated the discordProcessList() function to check for the "DiscordCanary.exe" and "DiscordPTB.exe" processes in addition to "Discord.exe". This update allows the application to detect and support all versions of Discord: stable, Canary, and PTB.

I have tested these changes and confirmed that they fix the original issue. The Rich Presence feature now functions as expected in both the stable and Canary Discord builds.

@jacobbvfx
Copy link
Owner

Sick! Thank you very much for help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants