Commit c659e576 by sikang

bug fix

parent d4a47c23
......@@ -323,10 +323,12 @@ class Function:
target = "/Users/connor/Documents/apks"
img_path = "../../app/src/main/res/drawable-xxhdpi"
shutil.rmtree(target+"/cache")
if not os.path.exists(target+"/cache"):
os.makedirs(target+"/cache")
else:
shutil.rmtree(target+"/cache")
# 移除
shutil.copy("%s/logo.png" % img_path, "%s/cache/logo.png" % target)
try:
......
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