electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

Include libunity in Linux target

Open JakobDev opened this issue 5 months ago • 2 comments

  • Electron-Builder Version: 24.9.1
  • Node Version: 21.5.0
  • Electron Version: 28.9.0

  • Electron Type (current, beta, nightly): stable

  • Target: Linux

Electron needs libunity for showing a badge and the progress in the window icon. This lib should be included in the Linux target, as it is not pre-installed on most systems.

JakobDev avatar Jan 30 '24 14:01 JakobDev

This sounds like a new requirement in newer electron versions? Can you try adding libunity to the linux depends configuration and see if that resolves your issue? Would like confirmation first before making changes to the code base.

mmaietta avatar Jan 31 '24 17:01 mmaietta

This sounds like a new requirement in newer electron versions?

No. This is very old, but it is not documented. It is needed for setProgressBar and setBadgeCount to work on Linux. If Electron can't find this lib, these function just don't work and Electron don't show a Error at all.

Can you try adding libunity to the linux depends configuration and see if that resolves your issue?

You mean the DEB package?

JakobDev avatar Feb 01 '24 11:02 JakobDev