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

create all desktop setting directories (#2023) #2024

Merged

Conversation

chmike
Copy link
Contributor

@chmike chmike commented Feb 24, 2021

Description:

Create all desktop setting directories

Avoids error if one of the directories in the path is missing (e.g. .config/fyne) on first execution.
This PR simply change os.Mkdir() into os.MkdirAll().

Fixes #2023

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Copy link
Member

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch thanks

@andydotxyz andydotxyz merged commit 6769111 into fyne-io:develop Feb 24, 2021
@chmike chmike deleted the chmike-patch-1-create-setting-directories branch February 26, 2021 10:15
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.

None yet

2 participants