Slightly less buggish Paco-Sako
[vchess.git] / client / download_objects.sh
CommitLineData
68ff3913
BA
1#!/bin/sh
2
3# Restore binary files (temporary fix - should use git-fat instead)
4for 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
c7550017 6 rm -f public/images/pieces/Eightpieces/tmp_png/"$color$piece".png
68ff3913
BA
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
9done
7e8a7ea1
BA
10for color in "w" "b"; do
11 for piece in "a" "c" "s" "t" "u" "v" "j" "l" "m" "o" "r" "n" "b" "q" "k"; do
12 rm -f public/images/pieces/Titan/"$color$piece".png
13 wget -q -O public/images/pieces/Titan/"$color$piece".png https://vchess.club/images/pieces/Titan/"$color$piece".png
14 done
15done
c7550017
BA
16for image in "Orda" "Archer" "Lancer" "Kheshig" "Yurt"; do
17 rm -f /public/images/variants/Orda/"$image".png
18 wget -q -O public/images/variants/Orda/"$image".png https://vchess.club/images/variants/Orda/"$image".png
19done
20rm -f public/sounds/newgame.flac
68ff3913 21wget -q -O public/sounds/newgame.flac https://vchess.club/sounds/newgame.flac
c7550017 22rm -f public/favicon.ico
68ff3913 23wget -q -O public/favicon.ico https://vchess.club/favicon.ico