Braasileiro / DeezerRPC

Deezer integrated with the Discord Rich Presence.
GNU General Public License v3.0
72 stars 16 forks source link

Help me ! #31

Closed alexodee closed 2 years ago

alexodee commented 2 years ago

Hi, I'm French and I use google translate, so excuse me if everything isn't perfect. I can't solve the error when starting DeezerRPC "Rich Presence Login Failed". image

I understood that it was necessary to inform the id of the discord client in src/app/app.ts but how after to open the .exe with the modifications of the source code? I would be very happy if you could help me because I support this project enormously and I am very grateful to you for doing this work!

I tested with normal discord and ptb discord on my other pc and it worked (win 10). On the other hand on my other pc (win 11), with normal discord and discord ptb, it still didn't work.

Braasileiro commented 2 years ago

You want to compile the project, do I understand correctly?

If you don't have Node.js installed, you will have to download and install it.

After cloning the repository, you must enter an Discord AppId in "src/app/app.ts".

The project now has the ClientId already inserted because it didn't make much sense for me to keep it private since it's something public and it's usually pretty easy to get that even after the code is "compiled".

In the main project folder you need to download the dependencies with the "npm install" command in the console.

To run, use the command "npm start".

To generate a release version there are commands "npm run dist-win" for Windows, "npm run dist-mac" for Mac (needs a Mac to compile) and "npm run dist-linux" for Linux (AppImage).

All output from release versions will go into the "dist" folder.

About Windows 11 I'll have to investigate because here I'm still using Windows 10. Maybe updating the dependencies will solve the problem.

alexodee commented 2 years ago

After restarts and tweaks on Windows, everything works! Thanks for your help !

DvoraNoob commented 2 years ago

After restarts and tweaks on Windows, everything works! Thanks for your help !

How do you fix the Rich Presence on Windows 11?