-
Notifications
You must be signed in to change notification settings - Fork 192
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
MacOS IPC Path broken with modified TMPDIR #54
Comments
I'm using the same code that discord's reference implementation uses: Lines 16 to 23 in 1bd83d3
|
That code simply doesn't work on Darwin/MacOS (at least anymore). On macOS Mojave that code returns On MacOS |
@spkane it works fine for me and other people i've been talking to about this... are you sure your env isn't messed up? |
Not exactly messed up, but I think I see what is happening, now that you posted that image. In my
This impacts Visual Studio Code and the node code, as I want in general, but the issue is that the Discord Desktop does not get that environment, and writes things into the "default" user tmp dir. Well, I will go ahead and pull that out for now since it is not vital, at the moment. But, it still feels a bit like a bug somewhere, anyhow. |
The IPC path on MacOS Mojave is here on my system:
I had to modify the
ipc.js
file to get this working.I'm assuming that this path is slightly different on people's systems, but a code fix for Darwin system to determine the correct path under
/private/var/folders
would be very helpful.I am not using this code directly, but it is a dependency for a plugin I use in my IDE.
Thanks!
The text was updated successfully, but these errors were encountered: