mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-03-27 14:55:32 +01:00
💚 Fixes file path
This commit is contained in:
parent
905cf481ac
commit
0f24a32c64
@ -28,7 +28,7 @@ if __name__ == "__main__":
|
|||||||
folder_tree = generate_folder_tree(folder_paths)
|
folder_tree = generate_folder_tree(folder_paths)
|
||||||
|
|
||||||
# Write the JSON structure to 'tree.json' in the root folder
|
# Write the JSON structure to 'tree.json' in the root folder
|
||||||
root_dir = Path(__file__).resolve().parent.parent # Assuming script is in 'scripts' folder
|
root_dir = Path(__file__).resolve().parent
|
||||||
tree_json_path = root_dir / 'tree.json'
|
tree_json_path = root_dir / 'tree.json'
|
||||||
|
|
||||||
with open(tree_json_path, 'w') as f:
|
with open(tree_json_path, 'w') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user