Pigpog/vlc-discord-rpc

Error when 'linux' is defined in the platformDefault const

ItsGarek opened this issue · 5 comments

image
Removing linux from the const seems to fix the issue.

the error isn't about it attempting to run the linux path, it's about a parsing error for the line above it. you must have edited the path in app.js incorrectly. Perhaps you missed a comma after the Windows path? Or used an unescaped backslash (if using backslashes in the path, you MUST double them up (\).

You are right I updated the issue. My bad

You should be able to have the linux path defined, it just has to be formatted correctly. I can take a look at your modifications to identify what went wrong

okay I got it, the comma wasn't there, but it worked when I used cmd.. I am stoopid -.-

glad you could get it working, have a good one