PolyMeilex / rfd

Rusty File Dialog
MIT License
564 stars 64 forks source link

[Feature] Let users select both files and folders #131

Open Benji377 opened 1 year ago

Benji377 commented 1 year ago

The problem: I am working on a small antivirus, and I am using Tauri API to let users specify a location on their machine to scan. Recently I also added the possibility to scan ZIP-files, but then I run into the issue of only being able to select either folders or files.

The solution I would like: I would like to have some sort of option available to activate the function of being able to select both. This would not only solve my problem, but also other people encountering this issue, as I am sure I can't be the only one.

Workarounds: As of now, I will add a switch on the UI to let users switch between selecting only files or only folders, it's not very user-friendly, but at least it works.

Additional context: By solving this issue, Tauri could update its dependencies and solve its issue too: https://github.com/tauri-apps/tauri/issues/5405