Not quite. My tests on Mac, Win, and Lin suggest you need something like this:
{ GetSupportDir
Return path to user application support directory. }
function GetSupportDir: string;
begin
{$IFDEF DARWIN}
result := GetSupportDir(false, kApplicationSupportFolderType)
+ ApplicationName + PathDelim;
{$ELSE}
result := GetAppConfigDirUTF8(false);
{$ENDIF}
end;
to get the
application support directory. Otherwise the Mac code gives you the 'Application Support' directory, while Win and Lin give the
application support directory in that directory.