Commit 9ef52a8d by sikang

添加toolbox

parent 88a9340a
...@@ -31,6 +31,8 @@ dependencies { ...@@ -31,6 +31,8 @@ dependencies {
if ("${tongdun_parent_key}".size() > 5 ) { if ("${tongdun_parent_key}".size() > 5 ) {
implementation(name: 'android_spirit-20190220-2.0.0.1', ext: 'aar') implementation(name: 'android_spirit-20190220-2.0.0.1', ext: 'aar')
} }
implementation project(':cash_plugin_toolbox')
} }
walle { walle {
......
import json
import string
import random
import glob, os
import sys
path = "../../../settings.gradle"
with open(path, "r") as f:
lines = f.readlines()
with open(path, "w") as f_w:
for line in lines:
if "include" in line:
line = "include ':app', 'lib_base', 'lib_yitu', 'cash_plugin_toolbox', ':AndResGuard-gradle-plugin', ':AndResGuard-core'"
f_w.write(line)
\ No newline at end of file
...@@ -5,7 +5,7 @@ echo "2、创建新的签名文件" ...@@ -5,7 +5,7 @@ echo "2、创建新的签名文件"
echo "3、commit 和 push Base代码" echo "3、commit 和 push Base代码"
echo "4、commit 和 push UI代码 (需手动修改分支)" echo "4、commit 和 push UI代码 (需手动修改分支)"
echo "5、pull Base代码 " echo "5、pull Base代码 "
echo "6、pull UI代码 " echo "6、pull tool_box 代码 "
echo "7、为 resGuardApks 目录下的 *_release.apk 打渠道包" echo "7、为 resGuardApks 目录下的 *_release.apk 打渠道包"
echo "8、提交一个渠道包Tag" echo "8、提交一个渠道包Tag"
echo "9、开始四大组件混淆" echo "9、开始四大组件混淆"
...@@ -23,6 +23,7 @@ echo "20、更新GP状态" ...@@ -23,6 +23,7 @@ echo "20、更新GP状态"
echo "21、获取签名秘钥散列" echo "21、获取签名秘钥散列"
echo "22、更新gateway" echo "22、更新gateway"
echo "23、字符串加密" echo "23、字符串加密"
echo "24、添加toolbox库"
echo -n "请输入指令编号:" echo -n "请输入指令编号:"
read commod read commod
...@@ -62,6 +63,10 @@ then ...@@ -62,6 +63,10 @@ then
elif (($commod == '6')) elif (($commod == '6'))
then then
cd ../../ cd ../../
cd ../..
git submodule update --remote
cd cash_plugin_toolbox
git checkout master
git pull git pull
elif (($commod == '7')) elif (($commod == '7'))
...@@ -180,6 +185,15 @@ then ...@@ -180,6 +185,15 @@ then
chmod a+x string_decrypt.py chmod a+x string_decrypt.py
python string_decrypt.py python string_decrypt.py
elif (($commod == '24'))
then
cd code
chmod a+x update_setting_gradle.py
python update_setting_gradle.py
cd ../../../
git submodule add https://git.starwin.tech/sikang/cash_plugin_toolbox.git
elif (($commod == '10000')) elif (($commod == '10000'))
then then
cd .. cd ..
......
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