summarylogtreecommitdiffstats
path: root/xnview.sh
blob: d2c83d67cc243e95941ed60875508bc08fbbdc4c (plain)
1
2
3
4
5
#!/bin/bash
xnviewmp_root=$(dirname "$(realpath "$0")")
export LD_LIBRARY_PATH="${xnviewmp_root}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
export LD_PRELOAD="${xnviewmp_root}/lib/qt5_std_fun_forwarder.so${LD_PRELOAD+:${LD_PRELOAD}}"
exec "${xnviewmp_root}/XnView" "$@"