Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit d2950f47 authored by Deucе's avatar Deucе 👌🏾

Use kDownloadsFolderType for downloads.

Found by digging through headers... Apple doesn't document this.
parent 878c277a
Pipeline #1648 passed with stage
in 10 minutes and 39 seconds
......@@ -936,7 +936,7 @@ static char *get_new_OSX_filename(char *fn, int fnlen, int type, int shared)
/* I'd love to use the "right" setting here, but don't know how */
if(FSFindFolder(shared?kLocalDomain:kUserDomain, kDesktopFolderType, kCreateFolder, &ref)!=noErr)
if(FSFindFolder(shared?kLocalDomain:kUserDomain, kDownloadsFolderType, kCreateFolder, &ref)!=noErr)
if(FSRefMakePath(&ref, (unsigned char*)fn, fnlen)!=noErr)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment