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
0e1ad9ec
Commit
0e1ad9ec
authored
Jul 09, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
4f64407d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
script/move_apk.sh
+6
-4
script/print/create_desc.py
+1
-1
script/script_help.sh
+3
-0
No files found.
script/move_apk.sh
View file @
0e1ad9ec
cd
../../
.
gradle.properties
basepath
=
$(
cd
`
dirname
$0
`
;
pwd
)
project_name
=
${
basepath
##*/
}
now_time
=
$(
date
"+%Y-%m-%d %H_%M_%S"
)
cp resGuardApks/
"
${
project_name
}
"
_release.apk /Users/connor/Documents/apks/
"
${
project_name
}
"
_release_
"
${
now_time
}
"
.apk
\ No newline at end of file
#now_time=$(date "+%Y-%m-%d %H_%M_%S")
file_name
=
"
${
corp_id
}
_
${
app_name
}
.apk"
rm /Users/connor/Documents/apks/
"
${
file_name
}
"
cp resGuardApks/
"
${
project_name
}
"
_release.apk /Users/connor/Documents/apks/
"
${
file_name
}
"
\ No newline at end of file
script/print/create_desc.py
View file @
0e1ad9ec
...
...
@@ -71,7 +71,7 @@ def create_config(read_path,write_path):
.
replace
(
"${privacy_url}"
,
sys
.
argv
[
6
])
f_w
.
write
(
line
)
output
=
"/Users/connor/Documents/apks/"
+
sys
.
argv
[
5
]
+
sys
.
argv
[
1
];
output
=
"/Users/connor/Documents/apks/"
+
sys
.
argv
[
5
]
+
"_"
+
sys
.
argv
[
1
];
if
not
os
.
path
.
exists
(
output
):
os
.
makedirs
(
output
)
...
...
script/script_help.sh
View file @
0e1ad9ec
...
...
@@ -255,9 +255,12 @@ elif (($commod == '26'));then
echo
"
${
corp_id
}
${
app_name
}
"
echo
"对内协议:
${
agreement_url
}
"
echo
"对外协议:
${
home
}
/privacy.html"
echo
" "
cd
print
python create_desc.py
"
${
app_name
}
"
"
${
cus_email
}
"
"
${
hot_line
}
"
"
${
cus_adress
}
"
"
${
corp_id
}
"
"
${
home
}
/privacy.html"
echo
" "
file_name
=
"
${
corp_id
}
_
${
app_name
}
"
mv /Users/connor/Documents/apks/
"
${
file_name
}
.apk"
/Users/connor/Documents/apks/
"
${
file_name
}
/
${
file_name
}
.apk"
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