Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
9ef52a8d
Commit
9ef52a8d
authored
Jun 17, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加toolbox
parent
88a9340a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
1 deletions
+34
-1
app_build.gradle
+2
-0
script/code/update_setting_gradle.py
+17
-0
script/script_help.sh
+15
-1
No files found.
app_build.gradle
View file @
9ef52a8d
...
@@ -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
{
...
...
script/code/update_setting_gradle.py
0 → 100755
View file @
9ef52a8d
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
script/script_help.sh
View file @
9ef52a8d
...
@@ -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
..
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment