Skip to content

Commit

Permalink
Merge pull request #7 from Paillat-dev/main
Browse files Browse the repository at this point in the history
Added Support for Discord Canary and PTB in Rich Presence
  • Loading branch information
jacobbvfx authored Jun 12, 2023
2 parents bd27354 + 0f47ee2 commit 8ba3002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/jacobb/resolverpc/ProcessListFunc.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static boolean discordProcessList() throws IOException, InterruptedExcept
String line = sc.nextLine();
String[] parts = line.split(",");
String unq = parts[0].substring(1).replaceFirst(".$", "");
if (unq.equals("Discord.exe")) {
if (unq.equals("Discord.exe") || unq.equals("DiscordCanary.exe") || unq.equals("DiscordPTB.exe")) {
found.set(true);
}
}
Expand Down

0 comments on commit 8ba3002

Please sign in to comment.