增加一个工具函数,文件转url。支持本子下载功能

This commit is contained in:
DEII 2024-07-30 00:30:58 +08:00
parent d5faf06118
commit 02db3a6833
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ def main():
updaat()
elif a=="3":
print("执行清理缓存操作")
shutil.rmtree("data/pictures/benzi")
if not os.path.exists("data/pictures/benzi"):
os.mkdir("data/pictures/benzi")
aimdir = ["data/pictures/avatars", "data/voices", "data/music/musicCache", "data/pictures/cache",
"data/pictures/wallpaper", "data/blueArchive/arona", "data/blueArchive/cache", "data/Elo",
"data/arknights", "data/backrooms"]