Skip to content

Commit 379206f

Browse files
committed
Add Vesktop ipc socket directory
1 parent 144eff3 commit 379206f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/connection_unix.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ static int MsgFlags = 0;
2929
// Directories where the discord-ipc socket might live
3030
// https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc)
3131
static const char* DiscordIpcSocketDirs[] = {
32-
"", // Default
33-
"snap.discord", // https://snapcraft.io/discord
34-
"app/com.discordapp.Discord", // https://flathub.org/apps/com.discordapp.Discord
32+
"", // Default
33+
"snap.discord", // https://snapcraft.io/discord
34+
".flatpak/com.discordapp.Discord/xdg-run", // https://flathub.org/apps/com.discordapp.Discord
35+
".flatpak/dev.vencord.Vesktop/xdg-run", // https://flathub.org/apps/dev.vencord.Vesktop
3536
};
3637

3738
static const char* GetTempPath()

0 commit comments

Comments
 (0)