[Linux] $HOME/Downloads isn't used by default
I have a slightly atypical setup in that I'm opening up the AppImage, so that's likely why this isn't an issue for other people with the Desktop UI in Linux. The symptom is that clicking on any download link yields this toast:
```
1. Couldn't download the file
no Downloads folder: unknown path
```
The error is surprising because $HOME/Downloads was right there as usual.
Digging through the any-ui codebase for a while has shown that the issue was the underlying Rust library used by Tauri has a very strict check that required a file in $HOME/.config/user-dirs.dirs that includes XDG_DOWNLOAD_DIR="$HOME/Downloads" , and adding this file indeed has worked fine.
Might be nice to make the typical path work, if not now at least when the client is expanded to other packaging formats (tarballs, debs, etc).
0 Comments
Sign in to comment
No comments yet. Be the first to share your thoughts.
