Open
Description
I'm getting the following error while trying to generate default config file:
>> library-loader-cli -g -u
Writing default config to "/home/ms/.config/LibraryLoader.toml"
thread 'main' panicked at 'Failed to get default download dir', ll-core/src/config/mod.rs:93:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
It seems to fail on dirs::download_dir
function. According to Rust docs return value should depend on XDG_DOWNLOAD_DIR
environment variable.
I verified if it's present and it was. To be sure I also tried running it with the path set explicitly:
>> XDG_DOWNLOAD_DIR=/home/ms/Downloads library-loader-cli -g -u
Writing default config to "/home/ms/.config/LibraryLoader.toml"
thread 'main' panicked at 'Failed to get default download dir', ll-core/src/config/mod.rs:93:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace