Discord-RPC-Extension
Discord-RPC-Extension copied to clipboard
Linux IPC Fix
I fixed up a linux version for myself by running the node.js version and adding an if block to the getIPCPath function in ipc.js under node_modules/discord-rpc/src/transports.
if (process.platform === 'linux') { return '/run/user/1000/app/com.discordapp.Discord/discord-ipc-${id}'; }
[just imagine that the single quotes are actually ` in the part with the variable id]
https://github.com/discordjs/RPC This is the node_module discord-rpc. You should go there and ask for a fix.