[.desktop] Add discord patch for VA-API and HVEC

This commit is contained in:
aloslider committed 2026-11-20 01:48:19 +03:00
1 parent 26a2d80707
commit 1b7517ee21
3 files changed
+34 -1

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
discord-patch || echo "discord-patch failed, launching unpatched" >&2
exec env LIBVA_DRIVER_NAME=nvidia NVD_BACKEND=direct /usr/bin/discord \
--ozone-platform=wayland --use-gl=angle --disable-gpu-sandbox "$@"