Update two recipe for ui dir move

Forgot to commit them in my previous MR.
This commit is contained in:
bjorn3 2026-01-26 20:01:20 +01:00
parent 05fa117421
commit b8e74ce094
2 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ export WITH_NETWORK=false
export REDOX_OVERRIDE=true
export prefix="/usr"
export bindir="${prefix}/games"
export icondir="/ui/icons/apps"
export icondir="/usr/share/icons/apps"
export gamesdir="${prefix}/share/games"
if [ "${COOKBOOK_DYNAMIC}" == "1" ]; then

View File

@ -24,10 +24,10 @@ cp -v "target/${TARGET}/release/hnefatafl-server" "${COOKBOOK_STAGE}/usr/bin/hne
cp -v "target/${TARGET}/release/hnefatafl-text-protocol" "${COOKBOOK_STAGE}/usr/bin/hnefatafl-text-protocol"
mkdir -pv "${COOKBOOK_STAGE}"/usr/games
mkdir -pv "${COOKBOOK_STAGE}"/ui/apps
mkdir -pv "${COOKBOOK_STAGE}"/ui/icons/apps
cp -rv "${COOKBOOK_SOURCE}"/src/bin/hnefatafl-client/helmet.png "${COOKBOOK_STAGE}"/ui/icons/apps/helmet.png
cp -rv "${COOKBOOK_SOURCE}"/packages/redox/manifest "${COOKBOOK_STAGE}"/ui/apps/hnefatafl-client
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/ui/apps
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/icons/apps
cp -rv "${COOKBOOK_SOURCE}"/src/bin/hnefatafl-client/helmet.png "${COOKBOOK_STAGE}"/usr/share/icons/apps/helmet.png
cp -rv "${COOKBOOK_SOURCE}"/packages/redox/manifest "${COOKBOOK_STAGE}"/usr/share/ui/apps/hnefatafl-client
mv "${COOKBOOK_STAGE}"/usr/bin/hnefatafl-client "${COOKBOOK_STAGE}"/usr/games/hnefatafl-client
"""