mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00

AppRun is the file that gets packaged inside of the AppImage that bootstraps the application. The AppImage can only have one icon, so we use the largest sample we have available. The appdata.xml contains some metadata. Contributes to issue CURA-9409.
16 lines
460 B
Bash
16 lines
460 B
Bash
#!/bin/sh
|
|
|
|
scriptdir=$(dirname $0)
|
|
|
|
export PYTHONPATH="$scriptdir/lib/python3.10"
|
|
export LD_LIBRARY_PATH=$scriptdir
|
|
export QT_PLUGIN_PATH="$scriptdir/qt/plugins"
|
|
export QML2_IMPORT_PATH="$scriptdir/qt/qml"
|
|
export QT_QPA_FONTDIR=/usr/share/fonts
|
|
export QT_QPA_PLATFORMTHEME=xdgdesktopportal
|
|
export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
|
|
|
|
# Use the openssl.cnf packaged in the AppImage
|
|
export OPENSSL_CONF="$scriptdir/openssl.cnf"
|
|
|
|
$scriptdir/Ultimaker-Cura "$@"
|