Commit e228506e by sikang

update script

parent bd5d5f5c
echo "1、GP包(无权限)" echo "1、GP包(无权限)"
echo "2、渠道包(有权限)" echo "2、渠道包(有权限)"
echo "3、马甲包" echo "3、马甲包 GP"
echo "4、马甲包 渠道"
echo -n "选择打包方式:" echo -n "选择打包方式:"
read action read action
...@@ -30,11 +31,18 @@ elif((${action}=='3')) ...@@ -30,11 +31,18 @@ elif((${action}=='3'))
then then
mv app/src/main/res/drawable-xxhdpi/logo_majia.png app/src/main/res/drawable-xxhdpi/logo.png 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 sed -i "" "s#^app_name=.*#app_name=${majia_name}#g" gradle.properties
./sdk_manager.py ${td_mode} "TD"
gradlew resguardAppProductGoogleplayRelease gradlew resguardAppProductGoogleplayRelease
elif((${action}=='4'))
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 resguardAppProductWebsiteRelease
else else
echo "未知的打包方式" echo "未知的打包方式"
fi fi
cd lib_base/script/garble/ cd lib_base/script/garble/
./reset_name.sh ./reset_name.sh
\ No newline at end of file
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