├── .gitignore ├── Deezer_512x512x32.png ├── desktop.ejs └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | deezer.exe 2 | deezer.dmg 3 | build/ 4 | out/ 5 | .vscode/ 6 | -------------------------------------------------------------------------------- /Deezer_512x512x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vtenfys/deezer-deb-builder/HEAD/Deezer_512x512x32.png -------------------------------------------------------------------------------- /desktop.ejs: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | <% if (productName) { %>Name=<%= productName %> 3 | <% } %><% if (description) { %>Comment=<%= description %> 4 | <% } %><% if (genericName) { %>GenericName=<%= genericName %> 5 | <% } %><% if (name) { %>Exec=<%= name %> %U 6 | Icon=<%= name %> 7 | <% } %>Type=Application 8 | StartupNotify=true 9 | StartupWMClass=Deezer 10 | <% if (categories && categories.length) { %>Categories=<%= categories.join(';') %>; 11 | <% } %><% if (mimeType && mimeType.length) { %>MimeType=<%= mimeType.join(';') %>; 12 | <% } %> 13 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Project is no longer maintained as I no longer use Linux or Deezer. I will continue to merge PRs from users. 2 | 3 | --- 4 | 5 | # Deezer DEB Builder 6 | 7 | Build Deezer packages for Ubuntu/Debian, using resources extracted from Deezer's Windows or macOS packages. 8 | 9 | ## Prebuilt packages 10 | 11 | See [Releases](https://github.com/davidbailey00/deezer-deb-builder/releases) 12 | 13 | ## Requirements 14 | 15 | 1. Install Node.js, e.g. using NVM: 16 | 17 | ```sh 18 | nvm install node 19 | ``` 20 | 21 | 2. Install `asar`, `electron-packager` and `electron-installer-debian`: 22 | 23 | ```sh 24 | npm -g install asar electron-packager electron-installer-debian 25 | ``` 26 | 27 | 3. Install packages required for `7z`, `icns2png`, `fakeroot` and `dpkg`. 28 | 29 | Using Ubuntu or Debian: 30 | 31 | ```sh 32 | sudo apt install p7zip-full icnsutils fakeroot 33 | ``` 34 | 35 | Or, using macOS: 36 | 37 | ```sh 38 | brew install p7zip libicns fakeroot dpkg 39 | ``` 40 | 41 | 4. Download the latest Deezer Windows or macOS installer, as `deezer.exe` or `deezer.dmg` respectively, e.g. using wget: 42 | 43 | ```sh 44 | wget 'https://e-cdn-content.dzcdn.net/builds/deezer-desktop/8cF2rAuKxLcU1oMDmCYm8Uiqe19Ql0HTySLssdzLkQ9ZWHuDTp2JBtQOvdrFzWPA/darwin/x64/4.18.30/DeezerDesktop_4.18.30.dmg' -O deezer.dmg 45 | ``` 46 | 47 | # Build 48 | 49 | Run the build script: 50 | 51 | ```sh 52 | ./build.sh 53 | ``` 54 | 55 | replacing `` with either `win` or `mac`, depending on which sources you would like to build from. 56 | 57 | Once complete, you should have a DEB package in the `out` directory. 58 | --------------------------------------------------------------------------------