Find data directory location programatically [macOS]

Hi! I am looking for a way to find out the data directory location (as well as the linked attachment base directory) programmatically on macOS. No luck with ~/Library/Preferences/org.zotero.zotero.plist.
Sign In or Register to comment.