Commit 22cb803d by sikang

update script

parent a3d0588c
echo "1、GP包(无权限)" echo "1、GP包(无权限)"
echo "2、渠道包(有权限)" echo "2、渠道包(有权限)"
echo "3、马甲包"
echo -n "选择打包方式:" echo -n "选择打包方式:"
read action read action
...@@ -24,6 +25,12 @@ then ...@@ -24,6 +25,12 @@ then
elif((${action}=='2')) elif((${action}=='2'))
then then
gradlew resguardAppProductWebsiteRelease gradlew resguardAppProductWebsiteRelease
elif((${action}=='3'))
then
mv app/src/main/res/drawable-xxhdpi/logo_majia.png app/src/main/res/drawable-xxhdpi/logo.png
sed -i "" "s#^app_name=.*#app_name=${majia_name}#g" gradle.properties
gradlew resguardAppProductGoogleplayRelease
else else
echo "未知的打包方式" echo "未知的打包方式"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment