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

moveItemToTrash delete files permanently on Linux Ubuntu 20.04 #24501

Closed
vasyl-shumskyi opened this issue Jul 10, 2020 · 2 comments
Closed

moveItemToTrash delete files permanently on Linux Ubuntu 20.04 #24501

vasyl-shumskyi opened this issue Jul 10, 2020 · 2 comments

Comments

@vasyl-shumskyi
Copy link

shell.moveItemToTrash delete files permanently on Linux Ubuntu 20.04

electron 8.2.3

@vasyl-shumskyi vasyl-shumskyi changed the title shell.moveItemToTrash delete files permanently on Linux Ubuntu 20.04 moveItemToTrash delete files permanently on Linux Ubuntu 20.04 Jul 10, 2020
@codebytere
Copy link
Member

Thanks for reaching out! This is intended behavior.

Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.

Check out the Electron community. There are also a bunch of helpful people in this community forum that should be willing to point you in the right direction.

@vasyl-shumskyi
Copy link
Author

This is intended behavior.

Move to Trash and erase files permanently are not the same.

Node fs.unlink can be used for erasing files.

Move to Trash means that users will be able to restore files anytime.

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

No branches or pull requests

2 participants