Skip to content

Commit

Permalink
Fix font merging and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWolf committed Feb 7, 2024
1 parent d0b6c57 commit e95119c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ cp -R ../../src/default/* .

# Copy glyph icons
cp -R ../../src/fonticons/assets/magic/* ./assets/magic/
php ../../merge_fonts.php ../../src/fonticons/assets/minecraft/font assets/minecraft/font/default.json
mv assets/minecraft/font/default.json assets/minecraft/font/magic.json
mkdir ./assets/minecraft/font
php ../../merge_fonts.php ../../src/fonticons/assets/magic/font ./assets/minecraft/font/magic.json

# Clean and zip
find . -name ".DS_Store" -type f -delete
Expand Down Expand Up @@ -207,3 +207,23 @@ cp -R ../../src/vanilla/* .
find . -name ".DS_Store" -type f -delete
zip -q -X -r ../Magic-vanilla-RP-1.20.4.zip *
cd ..

echo "** BUILDING VANILLA-ALL **"

mkdir vanilla-all
cd vanilla-all
cp -R ../all/* .
cp -R ../../src/vanilla/* .
find . -name ".DS_Store" -type f -delete
zip -q -X -r ../Magic-vanilla-all-RP-1.20.4.zip *
cd ..

echo "** BUILDING VANILLA-ROBES **"

mkdir vanilla-robes
cd vanilla-robes
cp -R ../robes/* .
cp -R ../../src/vanilla/* .
find . -name ".DS_Store" -type f -delete
zip -q -X -r ../Magic-vanilla-robes-RP-1.20.4.zip *
cd ..
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e95119c

Please sign in to comment.