diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 85d541c..f832647 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -33,7 +33,7 @@ parts: '*': RabbitCommon/ prime: - -* - + serialportassistant: after: [rabbitcommon] # See 'snapcraft plugins' @@ -90,7 +90,7 @@ parts: - -opt/SerialPortAssistant/lib/cmake - -opt/SerialPortAssistant/lib/pkgconfig - -opt/SerialPortAssistant/lib/*.a - + apps: serialportassistant: command: snap/command-chain/desktop-launch $SNAP/opt/SerialPortAssistant/bin/serialportassistant @@ -98,6 +98,7 @@ apps: 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 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/ @@ -108,4 +109,10 @@ apps: # See: https://snapcraft.io/docs/supported-interfaces plugs: - network - - serial-port \ No newline at end of file + - serial-port + - desktop + - desktop-legacy + - wayland + - x11 + - opengl + - home \ No newline at end of file