Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nonexistent library dir #725

Merged
merged 2 commits into from
Nov 30, 2024
Merged

Conversation

NotArme
Copy link
Contributor

@NotArme NotArme commented Nov 26, 2024

Currently, item_usage history and nodes saved to the user library are not being stored between sessions on fresh installs due to the "user://library" directory not existing. (bug can be checked by deleting the directory and attempting to save a node to user library on latest alpha)
This PR fixes that by creating the directory on startup, and making sure that a directory exists before trying to save a library file

Changes were tested on Windows 11 and seem to work fine

@RodZill4 RodZill4 merged commit 346d251 into RodZill4:master Nov 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants