blob: 008387e050e3af77fd5363d811a7dc44bede446d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -o pipefail
_APPDIR="/opt/@appname@"
_RUNNAME="${_APPDIR}/@runname@"
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${_APPDIR}/plugins:${QT_PLUGIN_PATH}"
export GST_PLUGIN_SYSTEM_PATH="${_APPDIR}/gstreamer-1.0:${GST_PLUGIN_SYSTEM_PATH}"
export GST_PLUGIN_PATH="${_APPDIR}/gstreamer-1.0:${GST_PLUGIN_SYSTEM_PATH}"
cd "${_APPDIR}"
exec "${_RUNNAME}" "$@" || exit $?
|