1 Star 0 Fork 11

hyc/tutorial-hot-update

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
version_test.sh 521 Bytes
一键复制 编辑 原始数据 按行查看 历史
xianyinchen 提交于 2021-03-10 14:41 +08:00 . fix syntax issues.
#!/bin/bash
# cd
root=$(cd "$(dirname "$0")";pwd)
# generate manifest (change version first!).
node version_generator.js -v 1.0.0 -u http://192.168.55.13:5502/remote-assets/ -s ./build/android/assets -d assets/
# return when generate version 1.0.0.
exit
# remove old remote-assets
if [ -d "./remote-assets/" ];then
rm -rf ./remote-assets/
fi
# output new remote-assets
cp -a ./build/android/assets/ ./remote-assets/
cp -a ./assets/project.manifest ./remote-assets/
cp -a ./assets/version.manifest ./remote-assets/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/code_one/tutorial-hot-update.git
git@gitee.com:code_one/tutorial-hot-update.git
code_one
tutorial-hot-update
tutorial-hot-update
master

搜索帮助