Skip to content
Snippets Groups Projects
Commit f6dead41 authored by Bye's avatar Bye
Browse files

rrrr

parent b2691e8a
Branches master
No related tags found
No related merge requests found
......@@ -36,7 +36,10 @@ except:
print("no need to delete anything")
os.system(f"advzip {output_dir}dbh.zip --add build --shrink-insane -4")
try:
progress = os.path.getsize(f"{output_dir}dbh.zip") / 1024
# make a loading bar showing progress to 13KB
print(f"[{'#'*(int((progress/13)*100)//10)}] {((progress/13)*100)}% ({round(progress, 3)} KB / 13 KB)")
except:
print("Done!")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment