kopia lustrzana https://github.com/tonsky/FiraCode
rodzic
eef76cac3a
commit
d78fd52d68
8
distr.sh
8
distr.sh
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
mv distr/*.eot distr/eot/ 2> /dev/null
|
||||
mv distr/*.woff distr/woff/ 2> /dev/null
|
||||
mv distr/*.woff2 distr/woff2/ 2> /dev/null
|
||||
mv distr/*.ttf distr/ttf/ 2> /dev/null
|
||||
mv distr/*.otf distr/otf/ 2> /dev/null
|
||||
cp distr/otf/*.otf ~/Library/Fonts/
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Remove Retina from webfonts
|
||||
rm distr/FiraCode-Retina.eot 2> /dev/null
|
||||
rm distr/FiraCode-Retina.woff 2> /dev/null
|
||||
rm distr/FiraCode-Retina.woff2 2> /dev/null
|
||||
|
||||
# Move to folders
|
||||
mv distr/*.eot distr/eot/ 2> /dev/null
|
||||
mv distr/*.woff distr/woff/ 2> /dev/null
|
||||
mv distr/*.woff2 distr/woff2/ 2> /dev/null
|
||||
mv distr/*.ttf distr/ttf/ 2> /dev/null
|
||||
mv distr/*.otf distr/otf/ 2> /dev/null
|
||||
|
||||
# Install OTF version
|
||||
cp distr/otf/*.otf ~/Library/Fonts/
|
||||
|
||||
# Pack zip archive
|
||||
cd distr
|
||||
find . -not -name ".*" | xargs zip ../FiraCode.zip
|
||||
cd ..
|
Ładowanie…
Reference in New Issue