Home Forums Software InstaDMG Using plistbuddy or defaults to choose a place for saving in User Template

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #381671
    ramuntcho
    Participant

    Hi,

    I have just encountered a big problem. I have package many applications and for some i build the preferences file plist with PlistBuddy or defaults, saved in User Template. So each user will inherit of some preferences. When i write in the prefs for an application the place for saving files, by example ~/Desktop, we hope that each user will have this target for this application. BUT NOT, when i look in the User Template, i found for this application, not ~/Desktop, but /Users/ramac/Desktop, ramac is the name of the first user. So for the second user, it will always propose /Users/ramac/Desktop.

    Any idea to avoid this problem ?

    Many thanks in advance

    Christian 😉

    #381675
    ramuntcho
    Participant

    Hi,

    Answer to myself…

    The problem doesn’t appear if i write “~/Desktop” and not ~/Desktop. It was so simple !

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed