diff --git a/release_scripts/linux/package.sh b/release_scripts/linux/package.sh index c53e3081..ce2e8f70 100755 --- a/release_scripts/linux/package.sh +++ b/release_scripts/linux/package.sh @@ -180,6 +180,7 @@ chown -R root:root $PACKAGE_DIRECTORY cp -R resources/customizations $PACKAGE_DIRECTORY/ cp resources/linux/openboard-ubz.xml $PACKAGE_DIRECTORY/etc/ +cp resources/linux/application-ubz.png $PACKAGE_DIRECTORY/etc/ if $BUNDLE_QT; then cp -R resources/linux/run.sh $PACKAGE_DIRECTORY/ @@ -287,6 +288,7 @@ cat > "$BASE_WORKING_DIR/DEBIAN/postinst" << EOF xdg-desktop-menu install --novendor /usr/share/applications/${APPLICATION_CODE}.desktop xdg-mime install --mode system /$APPLICATION_PATH/$APPLICATION_CODE/etc/openboard-ubz.xml xdg-mime default /usr/share/applications/${APPLICATION_CODE}.desktop application/ubz +xdg-icon-resource install --context mimetypes --size 48 /$APPLICATION_PATH/$APPLICATION_CODE/etc/application-ubz.png application-ubz ln -s $SYMLINK_TARGET /usr/bin/$APPLICATION_CODE @@ -400,8 +402,6 @@ echo "MimeType=application/ubz" >> $APPLICATION_SHORTCUT echo "Categories=Education;" >> $APPLICATION_SHORTCUT cp "resources/images/${APPLICATION_NAME}.png" "$PACKAGE_DIRECTORY/${APPLICATION_NAME}.png" - - # ---------------------------------------------------------------------------- # Building the package # ---------------------------------------------------------------------------- diff --git a/resources/linux/application-ubz.png b/resources/linux/application-ubz.png new file mode 100644 index 00000000..6eff7417 Binary files /dev/null and b/resources/linux/application-ubz.png differ diff --git a/resources/linux/application-ubz.svg b/resources/linux/application-ubz.svg new file mode 100644 index 00000000..0320a2c8 --- /dev/null +++ b/resources/linux/application-ubz.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +