Add openttd manifest and icon

This commit is contained in:
Jeremy Soller 2022-11-16 09:13:59 -07:00
parent 1591c47cda
commit 3387b5a1ef
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE
2 changed files with 11 additions and 0 deletions

4
recipes/openttd/manifest Normal file
View File

@ -0,0 +1,4 @@
name=OpenTTD
binary=/games/openttd
icon=/ui/icons/apps/openttd.png

View File

@ -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
}