Issue:
if there is no XDG user folder is set for "Download", the option is None and unwrapping causes the panic:
|
dest: dirs::download_dir().unwrap().join("nearby"), |
Possible solution:
Use a default dir or exit gracefully also notifying the user about the problem.