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
488b53c8
Commit
488b53c8
authored
Jun 28, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
ef48fb31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
script/res/update_gateway.py
+3
-0
script/script_help.sh
+11
-0
No files found.
script/res/update_gateway.py
View file @
488b53c8
...
...
@@ -7,6 +7,9 @@ import sys
path
=
"../../../gradle.properties"
gw_url
=
os
.
popen
(
'. ../../../gradle.properties
\n
echo "${gateway_url}"'
)
.
read
()
.
replace
(
'
\n
'
,
''
)
if
len
(
sys
.
argv
[
1
])
>
5
:
gw_url
=
sys
.
argv
[
1
]
print
(
gw_url
)
gateway
=
requests
.
get
(
gw_url
)
.
json
()
print
(
gateway
)
...
...
script/script_help.sh
View file @
488b53c8
...
...
@@ -24,6 +24,7 @@ echo "21、获取签名秘钥散列"
echo
"22、更新gateway"
echo
"23、字符串加密"
echo
"24、添加toolbox库"
echo
"25、替换马甲配置"
echo
-n
"请输入指令编号:"
read
commod
...
...
@@ -198,6 +199,16 @@ then
cd
../../../
git submodule add https://git.starwin.tech/sikang/cash_plugin_toolbox.git
elif
((
$commod
==
'25'
))
then
cd
../..
.
gradle.properties
mv
"app/src/main/res/drawable-xxhdpi/logo_majia
${
1
}
.png"
app/src/main/res/drawable-xxhdpi/logo.png
mv
"script/api_mapping_majia
${
1
}
"
script/api_mapping
cd
res
chmod a+x update_gateway.py
python update_gateway.py
${
gateway_mj
}
elif
((
$commod
==
'10000'
))
then
...
...
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