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
d3268d1e
Commit
d3268d1e
authored
Nov 05, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a031c871
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
python/main.py
+4
-6
python/shell.py
+0
-3
No files found.
python/main.py
View file @
d3268d1e
...
@@ -70,7 +70,7 @@ if command == 1 or command == 111:
...
@@ -70,7 +70,7 @@ if command == 1 or command == 111:
SdkManager
()
.
start_process
(
config
,
True
,
"CONTACT"
)
SdkManager
()
.
start_process
(
config
,
True
,
"CONTACT"
)
else
:
else
:
SdkManager
()
.
start_process
(
config
,
False
,
"CONTACT"
)
SdkManager
()
.
start_process
(
config
,
False
,
"CONTACT"
)
#布局文件混淆
#
布局文件混淆
LayoutGarble
()
.
layout_garble
(
config
)
LayoutGarble
()
.
layout_garble
(
config
)
# api混淆
# api混淆
ApiGarble
()
.
api_garble
(
config
)
ApiGarble
()
.
api_garble
(
config
)
...
@@ -84,14 +84,12 @@ if command == 1 or command == 111:
...
@@ -84,14 +84,12 @@ if command == 1 or command == 111:
ManifestGarble
()
.
manifest_garble
(
config
)
ManifestGarble
()
.
manifest_garble
(
config
)
# 插入乱码
# 插入乱码
JavaGarble
()
.
java_garble
(
config
)
JavaGarble
()
.
java_garble
(
config
)
#图片混淆
#
图片混淆
ImageGarble
()
.
img_garble
(
config
)
ImageGarble
()
.
img_garble
(
config
)
# 旧版脚本编译(待转移)
# 旧版脚本编译(待转移)
if
command
==
1
:
Shell
()
.
build_release
(
config
)
Shell
()
.
build_release
(
config
)
Shell
()
.
reset_project
(
config
)
Shell
()
.
reset_project
(
config
)
elif
command
==
2
:
elif
command
==
2
:
Function
()
.
new_appid
(
config
)
Function
()
.
new_appid
(
config
)
...
...
python/shell.py
View file @
d3268d1e
...
@@ -11,9 +11,6 @@ class Shell:
...
@@ -11,9 +11,6 @@ class Shell:
"cd
%
s"
%
config
[
'root'
],
"cd
%
s"
%
config
[
'root'
],
"rm -rf resGuardApks"
,
"rm -rf resGuardApks"
,
"gradlew clean"
,
"gradlew clean"
,
"cd lib_base/script/garble"
,
"./insert.py || { echo
\"
insert_code error!
\"
; exit 1; }"
,
"cd ../../../"
,
"gradlew resguardAppProductGoogleplayRelease"
,
"gradlew resguardAppProductGoogleplayRelease"
,
"gradlew clean"
"gradlew clean"
)
)
...
...
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