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

Check For Existence Of A Screenshot's Parent Folder #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

coolGi69
Copy link

When Cosmic is first installed on a new computer, certain folders (such as the Documents or Pictures folders) won't exist by default. If no other app creates them, then there is a chance that they just won't exist at all, causing screenshots to fail to save.

This PR just adds a check to see if the location that the screenshot will be saved to is valid, and if not, then create that folder.

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