Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 1.86 KB

README.md

File metadata and controls

75 lines (51 loc) · 1.86 KB

Deezer Solus build script

Deezer

Unofficial script to install Deezer desktop on Solus. 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:

  • Compatibility with newer Electron versions
  • Compatibility with a Linux environment in general.
  • Fixing bugs

Options

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

deezer --start-in-tray

Building

To install on Solus:

git clone https://github.com/ressonix/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