From c03857ecbef33dc638f6955012dca41747c6be04 Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Oct 05 2016 09:53:43 +0000 Subject: Desktop integration --- diff --git a/docker-builder-data/build/script/packet/opentoonz-appimage.files/opentoonz.desktop b/docker-builder-data/build/script/packet/opentoonz-appimage.files/opentoonz.desktop index 39b4896..7842522 100644 --- a/docker-builder-data/build/script/packet/opentoonz-appimage.files/opentoonz.desktop +++ b/docker-builder-data/build/script/packet/opentoonz-appimage.files/opentoonz.desktop @@ -1,4 +1,4 @@ [Desktop Entry] Name=OpenToonz -Exec=launch-opentoonz.sh +Exec=launch-opentoonz.sh.wrapper Icon=opentoonz diff --git a/docker-builder-data/build/script/packet/opentoonz-appimage.sh b/docker-builder-data/build/script/packet/opentoonz-appimage.sh index a11226a..538514d 100644 --- a/docker-builder-data/build/script/packet/opentoonz-appimage.sh +++ b/docker-builder-data/build/script/packet/opentoonz-appimage.sh @@ -11,6 +11,9 @@ pkinstall() { if ! cp --remove-destination "$ENVDEPS_PACKET_DIR/bin/AppRun" "$APPDIR/"; then return 1 fi + if ! cp --remove-destination "$ENVDEPS_PACKET_DIR/bin/desktopintegration" "$APPDIR/bin/launch-opentoonz.sh.wrapper"; then + return 1 + fi if ! (cp --remove-destination "$FILES_PACKET_DIR/opentoonz.desktop" "$APPDIR/" \ && cp --remove-destination "$FILES_PACKET_DIR/opentoonz.png" "$APPDIR/"); then return 1