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

savefiles directory not created on program start #5921

Open
mwerle opened this issue Sep 27, 2024 · 0 comments
Open

savefiles directory not created on program start #5921

mwerle opened this issue Sep 27, 2024 · 0 comments

Comments

@mwerle
Copy link
Contributor

mwerle commented Sep 27, 2024

Follow-up issue to #5917 to track an improvement to the fix. The current implementation delays creating the "savefiles" directory until a game is being saved.

Details in the #5919 PR discussion thread, the TL;DR is below:


After the fix, there is still a popup "user://savefiles is not a directory" when attempting to load a game if the "savefiles" directory has not yet been created.

Fix by creating the "savefiles" directory on program startup in Pi::App::OnStartup() or as a task inside StartupScreen:Start() in "Pi.cpp".

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

No branches or pull requests

1 participant