fix fonts on windows

pull/573/head
Lex Neva 2020-01-30 23:57:17 -05:00
rodzic 6573b16795
commit 6c81429111
1 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -17,10 +17,16 @@ mkdir artifacts
for d in inx/*; do for d in inx/*; do
lang=${d%.*} lang=${d%.*}
lang=${lang#*/} lang=${lang#*/}
cp $d/*.inx dist cp $d/*.inx dist
cd dist cd dist
python -m zipfile -c ../artifacts/inkstitch-${VERSION}-${OS}-${lang}.zip * if [ "$BUILD" = "windows" ]; then
cd .. # The python zipfile command line utility can't handle directories
# containing files with UTF-8 names on Windows, so we use 7-zip instead.
7z a ../artifacts/inkstitch-${VERSION}-${OS}-${lang}.zip *
else
python -m zipfile -c ../artifacts/inkstitch-${VERSION}-${OS}-${lang}.zip *
fi
cd ..
done done