1
0
Fork 0
OpenVCS/src-tauri/scripts/run.sh

13 lines
291 B
Bash
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/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 "$@"