diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f832647..0d8574c 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -93,15 +93,14 @@ parts: apps: serialportassistant: - command: snap/command-chain/desktop-launch $SNAP/opt/SerialPortAssistant/bin/serialportassistant + command-chain: + - snap/command-chain/desktop-launch + command: opt/SerialPortAssistant/bin/serialportassistant # See: https://snapcraft.io/docs/desktop-menu-support#heading--desktop-key desktop: opt/SerialPortAssistant/share/applications/org.Rabbit.SerialPortAssistant.desktop environment: - LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/opt/SerialPortAssistant/lib/$SNAPCRAFT_ARCH_TRIPLET - DISABLE_WAYLAND: 1 - QT_QPA_PLATFORM: wayland + LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/opt/SerialPortAssistant/lib/$SNAPCRAFT_ARCH_TRIPLET:${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}:${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/libproxy QT_PLUGIN_PATH: ${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/qt6/plugins/ - QT_QPA_PLATFORM_PLUGIN_PATH: ${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/qt6/plugins/platforms/ PATH: $SNAP/opt/SerialPortAssistant/bin:$PATH # List extensions, run `snapcraft extensions` extensions: @@ -109,10 +108,12 @@ apps: # See: https://snapcraft.io/docs/supported-interfaces plugs: - network + - network-bind + - network-status - serial-port - desktop - desktop-legacy - wayland - x11 - opengl - - home \ No newline at end of file + - home