Some fixes + first draft of Chakart (just thoughts for now)
[vchess.git] / client / download_objects.sh
1 #!/bin/sh
2
3 # Restore binary files (temporary fix - should use git-fat instead)
4 for color in "w" "b"; do
5 for piece in "b" "c" "d" "e" "f" "g" "h" "j" "k" "m" "n" "o" "p" "q" "r" "s"; do
6 rm -f public/images/pieces/Eightpieces/tmp_png/"$color$piece".png
7 wget -q -O public/images/pieces/Eightpieces/tmp_png/"$color$piece".png https://vchess.club/images/pieces/Eightpieces/tmp_png/"$color$piece".png
8 done
9 done
10 for image in "Orda" "Archer" "Lancer" "Kheshig" "Yurt"; do
11 rm -f /public/images/variants/Orda/"$image".png
12 wget -q -O public/images/variants/Orda/"$image".png https://vchess.club/images/variants/Orda/"$image".png
13 done
14 rm -f public/sounds/newgame.flac
15 wget -q -O public/sounds/newgame.flac https://vchess.club/sounds/newgame.flac
16 rm -f public/favicon.ico
17 wget -q -O public/favicon.ico https://vchess.club/favicon.ico