-
Notifications
You must be signed in to change notification settings - Fork 10
Home
In detail there will be explained here how to build this project yourself and get it working. There are some requirements before you can continue as seen on our ReadMe you need:
Node.js (Version > 7.0.0)
Git (Version > Decently modern)
Python (Version > 3.9.0)
Docker (For Linux version)
It is also recommended you download 7zip when you build this project.
Before you can continue otherwise your build will fail, our package.json is already updated so you only will need to open CMD inside the folder of the project or just do the next cd C:\Users\username\Projects\discord-netflix-master
make sure to change the username and path to the correct one.
After that do the next write: npm i
and wait it should now download all the npm packages for you, then type npm run winbuild
now it will build the application for you including the web installer and the zipped file using 7zip.
Now go to the dist
folder, this is where all the files from the build are inside win-ia32-unpacked
folder are all the files to run the program. Inside the nsis-web
folder is the installer and the zipped project file.
The only thing left now is getting a ECS signature this is free and pretty much straight forward, you need to to play media inside Discord-Netflix otherwise you will receive the cannot play media error code from Netflix. More about ECS signing is here documented.
A more simple description for using ECS is listed below since it's quite advanched and reading through the wiki takes a lot of time, simply run the command py -m castlabs_evs.vmp sign-pkg --persistent path-to-file-here
.
As you may notice npm run linbuild
does not work unfortunately service.electron.build has been down for a year and it doesn't seem that such issue will be fixed anytime soon so we will use (docker)[https://www.docker.com/get-started] to build a redistributable Linux package on a Windows 10/11 environment.
First download the electronuserland/builder Docker image with the following console command: docker pull electronuserland/builder
you can do this in CMD.
From the Electron project's root folder (such as C:\MyApp), type the following command-line command to run the container and map the Electron project's root folder to the /project virtual path: docker run --rm -ti -v C:\MyApp\:/project -w /project electronuserland/builder
then From inside the container, type the following commands to upgrade the Electron project's Yarn packages, globally install the electron-builder package and build the Linux redistributable package: cd /project
yarn upgrade
yarn global add electron-builder
npm run linbuild
.
The appimage version of Discord-Netflix should pop up in the directory, if you run into issues join the (Discord)[https://discord.gg/kbf8EjpxbU] server or open a issue.
Not supported yet ❌
Discord-Netflix does not save any analytics and all the code is open-source including our serverside code.