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

Linux IPC Fix #26

Open
fiberone opened this issue Aug 27, 2020 · 1 comment
Open

Linux IPC Fix #26

fiberone opened this issue Aug 27, 2020 · 1 comment

Comments

@fiberone
Copy link

fiberone commented Aug 27, 2020

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]

@lolamtisch
Copy link
Owner

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

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

No branches or pull requests

2 participants