![]() I wouldn't be too concerned about leaving files behind if the user removes the app. The appropriate place to put user data is either in the user's Documents folder, in a product-specific subdirectory of ~/Library/Application Support (or, if it should be system-wide, /Library/Application Support), or in a location that the user chooses. It is likely to be in a shared location and used by all the users on the system.Īpps should be codesigned and modifying their internals is likely to invalidate the signature. The app bundle is not specific to the user. In fact, the app bundle can be on read-only media. The user may not have permissions to write to it. ![]() Oh yes, and the applications generates a license file upon the user entering a valid serial key - on Windows the information is stored in the registry, but on Mac I am not sure where to put the file containing this information! Any help would be much appreciated. Obviously, deleting them would require me to make a package - which would just be an extra step for the user, so what do you think?. I now think that I will store these in the user's document folder, but I'm not sure as to whether I should delete these files when the app is deleted or just leave them. In short, my application needs a configuration file, but it also allows users to create their own 'databases'. app folder! If I assumed wrong though, I'd like to know where applications normally store the files that they create please.ĮDIT The whole reason I ask this question is because I fear negative feedback if my application leaves files behind, so really I need informative opinions. The reason I ask is because in my Java program, on windows, it reads some files that are in the programs directory (the principle of Program Files) but on OSX applications don't seem to create any files (that are apparent) - so I guessed that they must store them in the. So, I would like to know if it is possible to write inside of this folder, and if so how. app extension and a specific file structure. I am new to Mac OS X but I have read that applications are just a folder with the. Okay, I have thought before asking this question because at first it does sound like the age old question that boils down to "is it possible to write inside of an archive".
0 Comments
Leave a Reply. |