3 echo "[AppRun ] GameHub AppImage"
4 echo "[AppRun ] AppDir: $APPDIR"
6 export LD_LIBRARY_PATH
="$APPDIR/usr/lib:$LD_LIBRARY_PATH"
7 export PATH
="$APPDIR/usr/bin:$PATH"
8 export XDG_DATA_DIRS
="$APPDIR/usr/share:$XDG_DATA_DIRS"
10 export GSETTINGS_SCHEMA_DIR
="$APPDIR/usr/share/glib-2.0/schemas/:$GSETTINGS_SCHEMA_DIR"
12 export LD_LIBRARY_PATH
="$APPDIR/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0:$LD_LIBRARY_PATH"
14 [ -e "$APPDIR/checkrt.sh" ] && .
"$APPDIR/checkrt.sh" ||
echo "[AppRun ] Skipping CheckRT"
16 echo "[AppRun ] Starting GameHub"
19 "$APPDIR/usr/bin/com.github.tkashkin.gamehub" "$@"