AppRun 586 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. scriptdir=$(dirname $0)
  3. export PYTHONPATH="$scriptdir/lib/python3.10"
  4. export LD_LIBRARY_PATH=$scriptdir
  5. export QT_PLUGIN_PATH="$scriptdir/qt/plugins"
  6. export QML2_IMPORT_PATH="$scriptdir/qt/qml"
  7. export QT_QPA_FONTDIR=/usr/share/fonts
  8. export QT_QPA_PLATFORMTHEME=xdgdesktopportal
  9. export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
  10. # Use the openssl.cnf packaged in the AppImage
  11. export OPENSSL_CONF="$scriptdir/openssl.cnf"
  12. $scriptdir/Ultimaker-Cura "$@"
  13. # If this variable is set on Zorin OS 16 Cura would crash
  14. # unset `QT_STYLE_OVERRIDE` as a precaution
  15. unset QT_STYLE_OVERRIDE