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 }