Add support for new avatar storage (#50)

* Add support for new avatar storage,modify the README and android-interact.sh

* Show the nickname for chatroom, fix the IOError in avatar.py

* style change
This commit is contained in:
futurewrg
2017-11-29 01:34:51 -08:00
committed by Yuxin Wu
parent 265b57755d
commit dcad5ed99d
8 changed files with 32 additions and 13 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ elif [[ $1 == "db" || $1 == "res" ]]; then
if [[ $1 == "res" ]]; then
echo "Pulling resources... this might take a long time, because adb sucks..."
mkdir -p resource; cd resource
for d in image2 voice2 emoji video sfs; do
for d in avatar image2 voice2 emoji video sfs; do
mkdir -p $d; cd $d
adb pull "$RES_DIR/$chooseUser/$d"
cd ..