diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f339613e..8069afc5 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -23,25 +23,26 @@ plugs: apps: qv2ray: - command: bin/desktop-launch qv2ray - environment: - QT_QPA_PLATFORMTHEME: gtk3 - plugs: - - home - - x11 - - wayland - - opengl - - network - - network-bind - - unity7 - - pulseaudio - - desktop - - desktop-legacy - - gsettings - - network-control - - network-manager - common-id: com.github.Qv2ray - desktop: "usr/share/applications/qv2ray.desktop" + command: bin/desktop-launch qv2ray + environment: + QT_QPA_PLATFORMTHEME: gtk3 + DISABLE_WAYLAND: 1 + plugs: + - home + - x11 + - wayland + - opengl + - network + - network-bind + - unity7 + - pulseaudio + - desktop + - desktop-legacy + - gsettings + - network-control + - network-manager + common-id: com.github.Qv2ray + desktop: "usr/share/applications/qv2ray.desktop" parts: ppa: @@ -185,4 +186,4 @@ parts: - -DCMAKE_BUILD_TYPE=Release - -DFORCE_TCP_FASTOPEN=ON after: - - desktop-qt5 \ No newline at end of file + - desktop-qt5