OSX System.path(#PROGRAM_FILES)

Sciter Forums Bug reports OSX System.path(#PROGRAM_FILES)

This topic contains 1 reply, has 2 voices, and was last updated by  Andrew 1 day, 18 hours ago.

  • Author
    Posts
  • #51058

    midi
    Participant

    In osx
    System.path(#PROGRAM_FILES)
    returns /User/USERNAME/Applications which is not a folder that does not exists

  • #51062

    Andrew
    Keymaster

    That’s what

    NSSearchPathForDirectoriesInDomains ( NSApplicationDirectory, NSUserDomainMask, YES );

    gives me – applications installed for the user only.

    I probably need to use

    NSSearchPathForDirectoriesInDomains ( NSApplicationDirectory, NSLocalDomainMask, YES );

    there, fixing.

You must be logged in to reply to this topic.