卫戍协议

This commit is contained in:
zhbaor 2024-11-19 00:52:34 +08:00
parent 7c1f2041c6
commit 21dc3d1793
25 changed files with 243 additions and 35 deletions

View file

@ -8,7 +8,9 @@ res_path = Path(res_path_name)
data = "from typing import Literal\n\nRes = Literal[\n"
references = {}
for i in sorted(res_path.glob("**/*.png"), key=lambda x: x.as_posix()):
for i in sorted(res_path.glob("**/*"), key=lambda x: x.as_posix()):
if not i.is_file():
continue
res_name = i.as_posix()
res_name = res_name.replace(res_path_name, "")
res_name = res_name.replace(".png", "")