卫戍协议
This commit is contained in:
parent
7c1f2041c6
commit
21dc3d1793
25 changed files with 243 additions and 35 deletions
|
@ -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", "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue