#!/bin/bash

SELF=$(readlink -f "$0")
HERE=${SELF%/*}

#unset QT_PLUGIN_PATH
#unset PATH
#unset LD_LIBRARY_PATH
#export PATH="${HERE}/bin"
#export QT_PLUGIN_PATH="${HERE}/plugins"
export LD_LIBRARY_PATH="${HERE}/libJpeg"
#QtVersion=5.15.1
#export QtVersion

#export QT_DEBUG_PLUGINS=1

#exec -a "$0" "$HERE/deepin-screen-recorder" "$@"

exec "$HERE/jpegoptim" "$@"
