2020-05-15 13:00:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
APPDIR="$(dirname "$(readlink -f "${0}")")"
|
2021-04-21 20:13:21 +00:00
|
|
|
export GST_PLUGIN_SCANNER="${APPDIR}/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
|
|
|
|
export GST_PLUGIN_PATH="${APPDIR}/usr/lib/gstreamer-1.0"
|
|
|
|
export GST_PLUGIN_PATH_1_0="${APPDIR}/usr/lib/gstreamer-1.0"
|
|
|
|
export GST_PLUGIN_SYSTEM_PATH="${APPDIR}/usr/lib/gstreamer-1.0"
|
|
|
|
export GST_PLUGIN_SYSTEM_PATH_1_0="${APPDIR}/usr/lib/gstreamer-1.0"
|
2024-01-25 14:53:22 +00:00
|
|
|
export LD_LIBRARY_PATH="${APPDIR}/usr/lib/:${APPDIR}/usr/lib/nss:${LD_LIBRARY_PATH}"
|
2021-01-30 20:26:57 +00:00
|
|
|
export QT_QPA_PLATFORM="xcb"
|
2024-10-02 13:43:18 +00:00
|
|
|
# TODO: Remove once qt 5.15.2 support is dropped
|
|
|
|
# Fixing bug: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1944468
|
2024-10-04 15:12:07 +00:00
|
|
|
export QTWEBENGINE_CHROMIUM_FLAGS="${QTWEBENGINE_CHROMIUM_FLAGS} --disable-seccomp-filter-sandbox"
|
2020-05-15 13:00:49 +00:00
|
|
|
|
2021-02-18 20:42:33 +00:00
|
|
|
DEFAULT_LANG=en_US.UTF-8
|
|
|
|
if [[ "$LANG" == "C.UTF-8" ]]
|
|
|
|
then
|
|
|
|
export LANG=$DEFAULT_LANG
|
|
|
|
else
|
|
|
|
export LANG="${VARIABLE:=$DEFAULT_LANG}"
|
|
|
|
fi
|
|
|
|
|
2020-06-04 20:56:44 +00:00
|
|
|
exec "${APPDIR}/usr/bin/nim_status_client" "$@"
|