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
7af45dca
Commit
7af45dca
authored
Oct 04, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
93d01195
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
script/privacy/new_privacy.py
+1
-0
script/script_help.sh
+5
-5
No files found.
script/privacy/new_privacy.py
View file @
7af45dca
...
@@ -7,6 +7,7 @@ app_name = sys.argv[1]
...
@@ -7,6 +7,7 @@ app_name = sys.argv[1]
permission_list
=
sys
.
argv
[
2
]
permission_list
=
sys
.
argv
[
2
]
input
=
sys
.
argv
[
3
]
input
=
sys
.
argv
[
3
]
output
=
sys
.
argv
[
4
]
output
=
sys
.
argv
[
4
]
def
process_file_content
():
def
process_file_content
():
# print("processing content: %s..."%path)
# print("processing content: %s..."%path)
with
open
(
input
,
"rt"
)
as
fin
:
with
open
(
input
,
"rt"
)
as
fin
:
...
...
script/script_help.sh
View file @
7af45dca
...
@@ -306,15 +306,15 @@ elif (($commod == '26')) || (($commod == '266'));then
...
@@ -306,15 +306,15 @@ elif (($commod == '26')) || (($commod == '266'));then
elif
((
$commod
==
'28'
))
;
then
elif
((
$commod
==
'28'
))
;
then
cd
privacy
cd
privacy
python update_local.py
"
${
app_name
}
"
elif
((
$commod
==
'29'
))
;
then
cd
privacy
permissions
=
"1235"
permissions
=
"1235"
if
[
${
contact
}
!=
'true'
]
;
then
if
[
${
contact
}
!=
'true'
]
;
then
permissions
=
"235"
;
fi
permissions
=
"235"
;
fi
file_name
=
"
${
corp_id
}
_
${
app_name
}
"
file_name
=
"
${
corp_id
}
_
${
app_name
}
"
python update_local.py
"
${
agreement_url
}
"
"
${
permissions
}
"
"/Users/connor/Documents/apks/privacy/privacy0.html"
"/Users/connor/Documents/apks/
${
file_name
}
.html"
python new_privacy.py
"
${
app_name
}
"
"
${
permissions
}
"
"/Users/connor/Documents/apks/privacy/privacy0.html"
"/Users/connor/Documents/apks/
${
file_name
}
.html"
elif
((
$commod
==
'29'
))
;
then
cd
privacy
python new_privacy.py
"
${
app_name
}
"
elif
((
$commod
==
'10000'
))
elif
((
$commod
==
'10000'
))
...
...
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