From e25dcda1fabbe4fbfa0dcf116b56e55f10cbfa34 Mon Sep 17 00:00:00 2001 From: letsfindaway Date: Tue, 13 Aug 2024 15:20:34 +0200 Subject: [PATCH] fix: remove wrong and deprecated keys from desktop entry file - remove Version should either be 1.5 or omitted (optional) - remove Encoding deprecated --- release_scripts/linux/package.sh | 2 -- resources/linux/ch.openboard.OpenBoard.desktop | 1 - 2 files changed, 3 deletions(-) diff --git a/release_scripts/linux/package.sh b/release_scripts/linux/package.sh index 64b89f037..8d82a6126 100755 --- a/release_scripts/linux/package.sh +++ b/release_scripts/linux/package.sh @@ -425,8 +425,6 @@ echo "Description: $DESCRIPTION" >> "$CONTROL_FILE" # ---------------------------------------------------------------------------- mkdir -p $DESKTOP_FILE_PATH echo "[Desktop Entry]" > $APPLICATION_SHORTCUT -echo "Version=$VERSION" >> $APPLICATION_SHORTCUT -echo "Encoding=UTF-8" >> $APPLICATION_SHORTCUT echo "Name=${APPLICATION_NAME}" >> $APPLICATION_SHORTCUT echo "Comment=$DESCRIPTION" >> $APPLICATION_SHORTCUT echo "Exec=$APPLICATION_CODE %f" >> $APPLICATION_SHORTCUT diff --git a/resources/linux/ch.openboard.OpenBoard.desktop b/resources/linux/ch.openboard.OpenBoard.desktop index f7da8c44d..3f76f26a1 100644 --- a/resources/linux/ch.openboard.OpenBoard.desktop +++ b/resources/linux/ch.openboard.OpenBoard.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Name=OpenBoard Comment=OpenBoard, an interactive white board application Exec=openboard %f