You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
485 B
15 lines
485 B
#!/bin/bash
|
|
|
|
if [ ! -f "./Fork-Awesome/.git" ]; then
|
|
echo -e "\x1b[31;1mFA submodule is not initialized, exit...\x1b[m"
|
|
exit
|
|
fi
|
|
|
|
echo "=== Refreshing templates for building a customized font ==="
|
|
rm -rf "./patcher/templates/*"
|
|
|
|
cp "./Fork-Awesome/src/icons/.fontcustom-manifest.json" "./patcher/templates"
|
|
cp "./Fork-Awesome/src/icons/icons.yml" "./patcher/templates"
|
|
cp -R "./Fork-Awesome/src/icons/svg" "./patcher/templates"
|
|
|
|
(cd ./patcher && node ./refresh-wanted-templates.js)
|
|
|