23 lines
577 B
Bash
Executable file
23 lines
577 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
if ! test -d "src"; then
|
|
echo "Please run this in the project root directory."
|
|
exit 1
|
|
fi
|
|
|
|
root="`pwd`"
|
|
fonts="$root/editor/resources/Fonts"
|
|
|
|
if test ! -d editor/external/fluentui-system-icons; then
|
|
cd editor/external
|
|
git clone https://github.com/sfztools/fluentui-system-icons.git
|
|
cd fluentui-system-icons
|
|
else
|
|
cd editor/external/fluentui-system-icons
|
|
git checkout master
|
|
git pull origin master
|
|
fi
|
|
|
|
./generate_icons_font.py -s regular -w 20 -n 'Sfizz Fluent System R20' \
|
|
-o "$fonts/sfizz-fluentui-system-r20.ttf"
|