electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.46k stars 1.71k forks source link

Snap protocol handler not working due to LIBDBUS_PRIVATE_1.12.20 not found (required by dbus-send) #8234

Open quexten opened 1 month ago

quexten commented 1 month ago

Target: Ubuntu/Snap

Hi,

When trying to use protocol handlers under a snap build created with electron builder, the dbus call required for the launched instance to pass the schema parameters to the main electron instance does not work due to: dbus-send: /snap/bitwarden/x13/lib/x86_64-linux-gnu/libdbus-1.so.3: version LIBDBUS_PRIVATE_1.12.20 not found (required by dbus-send). All other distribution mechanisms (AppImage, Flatpak[using electron-builder .deb)) work fine for the same build. Confinement is strict, and the base is core22 (electron-builder.json).