2021-10-25 15:36:24 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2025-05-14 17:46:52 -05:00
|
|
|
# Add the current folder the library path
|
2020-07-21 13:31:24 -05:00
|
|
|
HERE=$(dirname "$(realpath "$0")")
|
2025-05-14 15:42:31 -05:00
|
|
|
export LD_LIBRARY_PATH="${HERE}"
|
2025-05-14 17:46:52 -05:00
|
|
|
|
|
|
|
|
# Set some environment variables
|
2020-07-14 17:23:01 -05:00
|
|
|
export QT_PLUGIN_PATH="${HERE}"
|
2025-05-14 17:46:52 -05:00
|
|
|
|
|
|
|
|
# For Debian-based systems with newer openssl, see:
|
|
|
|
|
# https://github.com/OpenShot/openshot-qt/issues/3242
|
|
|
|
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918727
|
2020-03-20 15:04:28 -04:00
|
|
|
export OPENSSL_CONF="/dev/null"
|
2020-03-17 17:27:09 -04:00
|
|
|
|
2025-05-14 17:46:52 -05:00
|
|
|
# Launch application
|
|
|
|
|
exec "${HERE}"/openshot-qt "$@"
|