Add auxiliary files needed for AppImage

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.
This commit is contained in:
Ghostkeeper 2022-06-30 14:43:22 +02:00
parent 047d7b1b19
commit 72b1097c9a
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF
2 changed files with 34 additions and 0 deletions

16
packaging/AppRun Normal file
View file

@ -0,0 +1,16 @@
#!/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 "$@"