mirror of https://github.com/avilliai/Manyana
增加一个工具函数,文件转url。支持本子下载功能
This commit is contained in:
parent
d5faf06118
commit
02db3a6833
3
setUp.py
3
setUp.py
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue