1
0
Fork 0

Add run script to launch the application with WebKit DMA-BUF disabled

This commit is contained in:
Jordon Brooks 2025-06-22 15:10:23 +01:00
parent 4865bc066f
commit 8bc60e414e
Signed by: jordon
GPG key ID: DBD9758CD53E786A

13
src-tauri/scripts/run.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
# Disable WebKits DMA-BUF path to avoid GBM/Wayland errors
export WEBKIT_DISABLE_DMABUF_RENDERER=1
# (Optional) force Wayland or X11 if you ever need it:
# export GDK_BACKEND=wayland
# export GDK_BACKEND=x11
# Launch your app
exec cargo run "$@"