Discord-RPC-Extension icon indicating copy to clipboard operation
Discord-RPC-Extension copied to clipboard

Linux IPC Fix

Open fiberone opened this issue 5 years ago • 2 comments

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]

fiberone avatar Aug 27 '20 20:08 fiberone

https://github.com/discordjs/RPC This is the node_module discord-rpc. You should go there and ask for a fix.

lolamtisch avatar Aug 28 '20 07:08 lolamtisch