Commit 62580fa0 by sikang

update

parent 3472ea0d
...@@ -62,7 +62,7 @@ class StringGarble: ...@@ -62,7 +62,7 @@ class StringGarble:
def str_grable(self,config): def str_grable(self,config):
for main_dir in config['lib_main']: for main_dir in config['lib_main']:
for root, dirs, files in os.walk("%s/lib_base/src/main/res"% config['root']): for root, dirs, files in os.walk("%s/%s/res"% (config['root'], main_dir)):
directory = os.path.join(os.getcwd(), root) directory = os.path.join(os.getcwd(), root)
for file in files: for file in files:
if file.endswith("strings.xml"): if file.endswith("strings.xml"):
...@@ -72,4 +72,4 @@ class StringGarble: ...@@ -72,4 +72,4 @@ class StringGarble:
if config['string_encryption'] in "true": if config['string_encryption'] in "true":
self.__string_garble(path) self.__string_garble(path)
self.__insert_strings(path) self.__insert_strings(path)
print("done") print("done")
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment