diff --git a/docker-builder-data/build/script/packet/opentoonz-testingappimage.files b/docker-builder-data/build/script/packet/opentoonz-testingappimage.files deleted file mode 120000 index 2773fd5..0000000 --- a/docker-builder-data/build/script/packet/opentoonz-testingappimage.files +++ /dev/null @@ -1 +0,0 @@ -opentoonz-appimage.files \ No newline at end of file diff --git a/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/launch-opentoonz-appimage.sh b/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/launch-opentoonz-appimage.sh new file mode 100755 index 0000000..e4d93b2 --- /dev/null +++ b/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/launch-opentoonz-appimage.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +OLDDIR=`pwd` +cd `dirname "$0"` +SCRIPT_DIR=`pwd` +BASE_DIR=`dirname "$SCRIPT_DIR"` + +export LD_LIBRARY_PATH="$BASE_DIR/lib:$BASE_DIR/lib/opentoonz:$BASE_DIR/lib64:$LD_LIBRARY_PATH" +export QT_XKB_CONFIG_ROOT=$QT_XKB_CONFIG_ROOT:/usr/local/share/X11/xkb:/usr/share/X11/xkb + +if [ "$1" = "--appimage-exec" ]; then + if ! "${@:2}"; then + cd "$OLDDIR" + exit 1 + fi +else + if ! "./launch-opentoonz.sh.wrapper" "$@"; then + cd "$OLDDIR" + exit 1 + fi +fi +cd "$OLDDIR" diff --git a/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/opentoonz.desktop b/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/opentoonz.desktop new file mode 100644 index 0000000..e30ba4d --- /dev/null +++ b/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/opentoonz.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=OpenToonz (Morevna Edition) +Exec=launch-opentoonz-appimage.sh +Icon=opentoonz +Categories=Graphics diff --git a/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/opentoonz.png b/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/opentoonz.png new file mode 100644 index 0000000..6a7b998 Binary files /dev/null and b/docker-builder-data/build/script/packet/opentoonz-testingappimage.files/opentoonz.png differ