siphomateke / deezer

Unofficial script to install Deezer Desktop on Ubuntu. Based on AUR Script (https://aur.archlinux.org/packages/deezer/) by SibrenVasse
151 stars 11 forks source link
debian deezer electron music-player ubuntu

Deezer Ubuntu build script

Screenshot of Deezer Desktop running on Kubuntu with the media player integration visible

Unofficial script to install Deezer desktop on Ubuntu. Based on the AUR Script by SibrenVasse.

For Windows, Deezer distributes a version of the Electron run time (Windows binary) and the source code of their application itself. The build process of this package extracts the application source from the Windows installer.

This package applies several patches for:

Options

You can start Deezer minimized on the tray using the --start-in-tray flag;

deezer --start-in-tray

Building

To install on Ubuntu:

git clone https://github.com/siphomateke/deezer
cd deezer
chmod +x ./install.sh
./install.sh

The Deezer Windows installer will then be downloaded, extracted and patched to work for Linux. When prompted for your sudo password, please enter it.

Uninstalling

You can uninstall Deezer by running uninstall.sh:

chmod +x ./uninstall.sh
./uninstall.sh

Updating

# Open the folder where you cloned this repo
cd deezer
# Pull the latest version
git pull
chmod +x ./install.sh
./install.sh

Debugging

Running the application from the command line will show verbose logging.

deezer

To run the application with devtools by running

env DZ_DEVTOOLS=yes electron /usr/share/deezer/app.asar

To debug node, you can extract the source files to a directory and inspect the node process by attaching using the chromium debugging tools. (https://www.electronjs.org/docs/tutorial/debugging-main-process)

asar extract /usr/share/deezer/app.asar $dest
electron --inspect-brk=$port $dest