deploy_wx_resource.sh 275 B

123456789101112131415
  1. #!/bin/sh
  2. WORKPATH=$(pwd)
  3. echo "当前目录$WORKPATH"
  4. destPath="build/res/dev"
  5. rm -rf "$destPath"
  6. if [ ! -d "$destPath" ]; then
  7. mkdir -p "$destPath"
  8. fi
  9. mv "build/wechatgame/remote"/* "$destPath"
  10. qshell qupload2 --src-dir=build/res --bucket=hzguandan --rescan-local