From e8faee62fa30ba9146c6d4cab270c02a68e234b9 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Thu, 9 Jun 2022 23:23:37 -0400 Subject: [PATCH] Improve AppStream --- launcher/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index 1a78a9c08..8cef403a7 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -28,7 +28,7 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/launcher.desktop" "Type=Application\n" "Categories=Game;\n" ) -if(MCPI_SERVER_MODE) +if(MCPI_HEADLESS_MODE) file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/launcher.desktop" "Terminal=true\n" "NoDisplay=true\n" @@ -54,7 +54,10 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/appstream.xml" " ${MCPI_APP_TITLE}\n" " CC0-1.0\n" " Fun with Blocks\n" - "

Minecraft: Pi Edition Modding Project.

NOTE: This is not verified by, affiliated with, or supported by Mojang or Microsoft.

\n" + " \n" + "

Minecraft: Pi Edition Modding Project.

\n" + "

NOTE: This is not verified by, affiliated with, or supported by Mojang or Microsoft.

\n" + "
\n" " https://gitea.thebrokenrail.com/TheBrokenRail/minecraft-pi-reborn\n" " ${MCPI_APP_ID}.desktop\n" " \n" @@ -88,7 +91,7 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/appstream.xml" " \n" " \n" ) -if(NOT MCPI_SERVER_MODE) +if(NOT MCPI_HEADLESS_MODE) file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/appstream.xml" " \n" " \n"