1
0
Fork 0
minetest-engine-multicraft2/Apple/scripts/assets.sh

20 lines
275 B
Bash
Executable File

#!/bin/bash -e
ALL_FONTS=true
if [ ! -d MultiCraft/MultiCraft.xcodeproj ]; then
echo "Run this from Apple folder"
exit 1
fi
DEST=$(pwd)/assets
mkdir -p $DEST/fonts
if $ALL_FONTS
then
cp ../fonts/*.ttf $DEST/fonts/
else
cp ../fonts/MultiCraftFont.ttf $DEST/fonts/
fi