Function transmission_sys::tr_getDefaultDownloadDir
source · Expand description
@brief returns Transmisson’s default download directory.
The default download directory is determined this way: -# If the HOME environment variable is set, “${HOME}/Downloads” is used. -# On Windows, “${CSIDL_MYDOCUMENTS}/Downloads” is used. -# Otherwise, getpwuid (getuid ())->pw_dir + “/Downloads” is used.