Skip to content
Snippets Groups Projects
Verified Commit e94fa709 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add freedoom manifest and icons

parent 3dee8072
No related branches found
No related tags found
Loading
......@@ -17,7 +17,7 @@ function recipe_clean {
}
function recipe_stage {
mkdir -pv "$1/games" "$1/share/games/doom"
mkdir -pv "$1/games" "$1/share/games/doom" "$1/ui/apps" "$1/ui/icons/apps"
for file in ./*.wad
do
game="$(basename "$file" .wad)"
......@@ -29,6 +29,12 @@ function recipe_stage {
echo "#!/bin/ion" > "$1$bin"
echo "/games/prboom -geom 800x600 -vidmode 32 -iwad $wad" >> "$1$bin"
chmod +x "$1$bin"
echo "name=$game" | sed 's/freedoom/FreeDOOM /' > "$1/ui/apps/$game"
echo "binary=/games/$game" >> "$1/ui/apps/$game"
echo "icon=/ui/icons/apps/$game.png" >> "$1/ui/apps/$game"
cp -v "$game.png" "$1/ui/icons/apps/$game.png"
done
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment