Skip to content

Fix crash when creating missing folders#94

Open
BrianAllred wants to merge 1 commit into
techyCoder81:mainfrom
BrianAllred:fix-mkdir-crash
Open

Fix crash when creating missing folders#94
BrianAllred wants to merge 1 commit into
techyCoder81:mainfrom
BrianAllred:fix-mkdir-crash

Conversation

@BrianAllred
Copy link
Copy Markdown
Contributor

Can reproduce a crash on console with launcher version 0.7.7 by renaming/deleting sd:/atmosphere/contents/01006A800016E000/manual_html.

These changes replace fs::create_dir_all with a custom function that manually walks the folder tree and creates folders only if necessary.

Fixes the above crash.

@github-actions
Copy link
Copy Markdown

Download the artifacts for this pull request:

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.

1 participant