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

Fix moving to trash in Windows #79

Merged
merged 4 commits into from
Jun 16, 2020
Merged

Fix moving to trash in Windows #79

merged 4 commits into from
Jun 16, 2020

Conversation

vinceau
Copy link
Owner

@vinceau vinceau commented Jun 16, 2020

Fixes #78.

We switch to using Electron's built in support for moving to the trash. One of the issues with deletion was caused by fast-glob returning a Unix style path which could not be deleted in Windows. Using path.resolve() before processing the file fixes this.

@vinceau vinceau changed the base branch from master to develop June 16, 2020 00:03
@vinceau vinceau merged commit 880e36d into develop Jun 16, 2020
@vinceau vinceau deleted the feat/fix-trash branch June 16, 2020 01:23
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.

Moving to trash is broken on Windows
1 participant