Closed ghost closed 6 years ago
Could you try
$ git clone https://github.com/HeloWorld017/atom-discord.git && cd atom-discord/ && npm i && apm link
?
It installs, I haven't checked whether it works in discord yet
However it give me this error:
Set up discord RPC.
{ Error: connect ENOENT /run/user/1001/snap.atom/discord-ipc-0
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'connect',
address: '/run/user/1001/snap.atom/discord-ipc-0' }
And the Rich Presence still doesn't work
Hmm... I think it may be error of getting IPC Path of discord-rpc
function getIPCPath() {
if (process.platform === 'win32')
return '\\\\?\\pipe\\discord-ipc-0';
const env = process.env;
const prefix = env.XDG_RUNTIME_DIR || env.TMPDIR || env.TMP || env.TEMP || '/tmp';
return `${prefix.replace(/\/$/, '')}/discord-ipc-0`;
}
May be problem of env?
But it won't be that part because I'm using Linux
ENOENT means No such file or directory
NVM IT WORKS!!!!!!
I think that my discord was broken.
When I tried to install v1.2.0 it failed
and