#!/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)