Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SibrenVasse/deezer

Repository files navigation

Deezer Arch Linux package

These files are build instructions for the Arch Linux build system how to create an installable Deezer package for the desktop application. However, the patches are not specific to Archlinux, and can be used for other Linux environments.

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

To install on Arch Linux, use your favourite AUR helper or build manually with:

git clone https://github.com/SibrenVasse/deezer
cd deezer
makepkg -si

Usage

Option Description
--start-in-tray Start the app in the tray (see upstream patch)
--disable-systray Quit the app when the window is closed (see upstream patch)
--keep-kernel Use the exact kernel version (see upstream patch)
This feature impacts privacy.
--disable-features Disable some features (see upstream patch)
--hide-offline-banner Hide the "Application is offline" banner that appears when using a VPN or DNS blocker (see upstream patch)
--disable-animations Disable animations (see upstream patch)
--disable-notifications Disable notifications (see upstream patch)
--log-level Set the log level (silly,debug,verbose,info,warn,error) (see upstream patch)
--enable-wayland-ime Enable IME keyboard support on Wayland (use with --ozone-platform-hint=auto --wayland-text-input-version=3)
Environment variable Options Description
DZ_START_IN_TRAY yes,no Start the app in the tray (see upstream patch)
DZ_DISABLE_SYSTRAY yes,no Quit the app when the window is closed (see upstream patch)
DZ_KEEP_KERNEL yes,no Use the exact kernel version (see upstream patch)
DZ_LOG_LEVEL silly...error Set the log level (see upstream patch)
DZ_HIDE_OFFLINE_BANNER yes,no Hide the "Application is offline" banner (see upstream patch)
DZ_DISABLE_ANIMATIONS yes,no Disable animations (see upstream patch)
DZ_DISABLE_NOTIFICATIONS yes,no Disable notifications (see upstream patch)
DZ_DEVTOOLS yes,no Enable the developer console (ctrl+shift+i)
DZ_TRAY_ICON /path/to/icon Force a custom icon path for the systray (see patch)

Debugging

Running the application from the commandline will show verbose logging.

deezer-desktop

To run the application with devtools by running

env DZ_DEVTOOLS=yes electron38 /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
electron38 --inspect-brk=$port $dest

About

Deezer Archlinux AUR package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages