Enabled the Python plugin in the Flatpak build by changing Meson config from -Dwith-python=false to -Dwith-python=python3, so it gets built in the Flatpak app module.

Set Flatpak to prefer Wayland by default by adding --env=GDK_BACKEND=wayland,x11 (while keeping existing Wayland and X11 sockets for compatibility).
This commit is contained in:
2026-02-22 10:47:01 -07:00
parent 2713270e1f
commit 931dddcf0e

View File

@@ -7,6 +7,7 @@
"command": "zoitechat", "command": "zoitechat",
"finish-args": [ "finish-args": [
"--share=ipc", "--share=ipc",
"--env=GDK_BACKEND=wayland,x11",
"--socket=wayland", "--socket=wayland",
"--socket=fallback-x11", "--socket=fallback-x11",
"--share=network", "--share=network",
@@ -59,7 +60,7 @@
"-Dgtk3=true", "-Dgtk3=true",
"-Ddbus-service-use-appid=true", "-Ddbus-service-use-appid=true",
"-Dwith-perl=false", "-Dwith-perl=false",
"-Dwith-python=false", "-Dwith-python=python3",
"-Dwith-lua=lua" "-Dwith-lua=lua"
], ],
"build-options": { "build-options": {