mirror of
https://github.com/ayasa520/redroid-script.git
synced 2026-11-25 22:25:22 +08:00
litegapps configuration added
This commit is contained in:
1 parent
ad5ac36daa
commit
cde83ea1c3
3 files changed
+59
-1
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ class General:
|
||||
with open(self.dl_file_name,"rb") as f:
|
||||
bytes = f.read()
|
||||
loc_md5 = hashlib.md5(bytes).hexdigest()
|
||||
while not os.path.isfile(self.dl_file_name) or loc_md5 != self.act_md5:
|
||||
while not os.path.isfile(self.dl_file_name) or (self.act_md5 != "" and loc_md5 != self.act_md5):
|
||||
if os.path.isfile(self.dl_file_name):
|
||||
os.remove(self.dl_file_name)
|
||||
print_color("md5 mismatches, redownloading now ....",bcolors.YELLOW)
|
||||
|
||||
Reference in new issue
Block a user