From 3387b5a1ef3113274f6eacc7a4ad070984e213eb Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Wed, 16 Nov 2022 09:13:59 -0700 Subject: [PATCH] Add openttd manifest and icon --- recipes/openttd/manifest | 4 ++++ recipes/openttd/recipe.sh | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 recipes/openttd/manifest diff --git a/recipes/openttd/manifest b/recipes/openttd/manifest new file mode 100644 index 000000000..d1f4805ed --- /dev/null +++ b/recipes/openttd/manifest @@ -0,0 +1,4 @@ +name=OpenTTD +binary=/games/openttd +icon=/ui/icons/apps/openttd.png + diff --git a/recipes/openttd/recipe.sh b/recipes/openttd/recipe.sh index a7e079a45..51e396f43 100644 --- a/recipes/openttd/recipe.sh +++ b/recipes/openttd/recipe.sh @@ -35,5 +35,12 @@ function recipe_stage { "$REDOX_MAKE" VERBOSE=1 ROOT_DIR="$dest/../build/" BUNDLE_DIR="$bundledir" INSTALL_DIR="$dest" install rm -rf "$bundledir" + + mkdir -pv "$1/ui/apps" + cp -v "${COOKBOOK_RECIPE}/manifest" "$1/ui/apps/openttd" + + mkdir -pv "$1/ui/icons/apps" + cp -v "media/openttd.64.png" "$1/ui/icons/apps/openttd.png" + skip=1 } -- GitLab