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
0263ddea
Commit
0263ddea
authored
Apr 04, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
1c350677
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
script/build_tool_apk.sh
+17
-0
script/script_help.sh
+7
-0
No files found.
script/build_tool_apk.sh
0 → 100755
View file @
0263ddea
cd
../../
.
gradle.properties
basepath
=
$(
cd
`
dirname
$0
`
;
pwd
)
project_name
=
${
basepath
##*/
}
cd
../hooker/
sed
-i
""
"s#^app_id=.*#app_id=
${
app_id
}
#g"
gradle.properties
sed
-i
""
"s#^signing_keyAlias=.*#signing_keyAlias=
${
signing_keyAlias
}
#g"
gradle.properties
sed
-i
""
"s#^signing_certificate=.*#signing_certificate=../../
${
project_name
}
/jks/
${
signing_keyAlias
}
.keystore#g"
gradle.properties
sed
-i
""
"s#^signging_certificatePassword=.*#signging_certificatePassword=
${
signging_certificatePassword
}
#g"
gradle.properties
sed
-i
""
"s#^signging_storePassword=.*#signging_storePassword=
${
signging_storePassword
}
#g"
gradle.properties
./gradlew clean
./gradlew assembleRelease
cp app/build/outputs/apk/app/release/app-app-release.apk /Users/connor/Documents/apks/
"
${
project_name
}
"
_tool.apk
\ No newline at end of file
script/script_help.sh
View file @
0263ddea
...
...
@@ -13,6 +13,7 @@ echo "10、插入乱码"
echo
"11、还原代码"
echo
"12、SDK插拔"
echo
"13、copy apk"
echo
"14、生成工具包"
...
...
@@ -106,6 +107,12 @@ then
chmod a+x move_apk.sh
./move_apk.sh
elif
((
$commod
==
'14'
))
then
chmod a+x build_tool_apk.sh
./build_tool_apk.sh
else
echo
"找不到编号"
fi
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