blob: 6e8fd6b823c6d77cb6a4bc204113982cea21df61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
unset QT_STYLE_OVERRIDE
egl_vendor=/usr/share/glvnd/egl_vendor.d/50_mesa.json
if [[ "$XDG_SESSION_TYPE" = 'wayland' && -f "$egl_vendor" ]]; then
__EGL_VENDOR_LIBRARY_FILENAMES="$egl_vendor" MESA_LOADER_DRIVER_OVERRIDE=zink /opt/ultimaker-cura/AppRun "$@"
else
/opt/ultimaker-cura/AppRun "$@"
fi
|