From 237016d3d6440a01de6f3f939337f8b664e5db24 Mon Sep 17 00:00:00 2001 From: "Md. Touhidur Rahman" <46617994+touhidurrr@users.noreply.github.com> Date: Sun, 19 Dec 2021 00:06:27 +0600 Subject: [PATCH] Fixes warnings in `desktop-file-validate` (#5822) Trying to validate this desktop entry with `desktop-file-validate` (default tool for desktop entry validation) shows the following warnings. ```bash ~$ desktop-file-validate unciv.desktop unciv.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated unciv.desktop: warning: boolean key "Terminal" in group "Desktop Entry" has value "0", which is deprecated: boolean values should be "false" or "true" ``` Thus deprecated lines were removed or edited. --- desktop/linuxFilesForJar/unciv.desktop | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop/linuxFilesForJar/unciv.desktop b/desktop/linuxFilesForJar/unciv.desktop index 77bf6570a3..efc3118295 100644 --- a/desktop/linuxFilesForJar/unciv.desktop +++ b/desktop/linuxFilesForJar/unciv.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Comment=Open-source Android/Desktop remake of Civ V Exec=Unciv GenericName=4X Game @@ -7,6 +6,6 @@ Icon=unciv Name=Unciv NoDisplay=false StartupNotify=true -Terminal=0 +Terminal=false Type=Application Categories=Game