Skip to content

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

Open
coolGi69 wants to merge 1 commit intopop-os:masterfrom
coolGi69:fix/screenshot-folder
Open

Check For Existence Of A Screenshot's Parent Folder#100
coolGi69 wants to merge 1 commit intopop-os:masterfrom
coolGi69:fix/screenshot-folder

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