summarylogtreecommitdiffstats
path: root/qianxin-browser-stable.sh
blob: 9a1fe9d38af7c3e93e099b3ef2736f75fda2362b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e
_APPDIR="/opt/@appname@"
_RUNNAME="${_APPDIR}/@runname@"
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export CHROME_VERSION_EXTRA="stable"
export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME
exec < /dev/null
exec > >(exec cat)
exec 2> >(exec cat >&2)
cd "${_APPDIR}"
exec -a "$0" "${_APPDIR}/qaxbrowser" "$@" || exit $?