diff --git a/tools/icon_converter.py b/tools/icon_converter.py index 1caa13e..192bb82 100644 --- a/tools/icon_converter.py +++ b/tools/icon_converter.py @@ -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) \ No newline at end of file