#!/bin/sh
# x2goclient is built against packages/qt6-full (at /opt/qt6-full, off the
# default linker path). Point it at its Qt6 runtime; qt.conf next to the
# real binary handles the plugin/platform paths.
QT6=/opt/qt6-full
export LD_LIBRARY_PATH="${QT6}/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
exec "/usr/lib/x2goclient/x2goclient" "$@"
