fix: tools: icon_maker create icons folder if doesn't exist
This commit is contained in:
parent
570b848625
commit
bd080a0f9e
@ -33,5 +33,8 @@ struct icon {filename}_icon = {{
|
||||
|
||||
"""
|
||||
|
||||
if not os.path.exists("./headers/icons"):
|
||||
os.makedirs("./headers/icons")
|
||||
|
||||
with open(f"./headers/icons/{filename}.h", "w") as f:
|
||||
f.write(string)
|
Loading…
Reference in New Issue
Block a user