Settings Browser does it exactly that way as you wrote it.
Keep in mind that 
        FileLocator preferences / #pharo  is for all Pharo versions
        FileLocator preferences / #pharo / 4.0 for Pharo 4.0
        etc.

Cheers,
Juraj

> 31. 3. 2015 v 12:37, Yuriy Tymchuk <[email protected]>:
> 
> Hi,
> 
> how do you access prefs dir? (The one that is ~/Library/Preferences/pharo/ on 
> mac). Do you do
> (FileLocator preferences / #pharo) ensureCreateDirectory
> or there is a smarter way?
> 
> Cheers.
> Uko


Reply via email to