Isn’t the Library sandboxed? Bob S
On Feb 29, 2024, at 6:35 PM, Mike Kerner via use-livecode <use-livecode@lists.runrev.com> wrote: any reason to store in documents instead of in library? it seems like there might be less of a chance of the user misusing the Files app to break the app. On Thu, Feb 29, 2024 at 5:32 PM Mike Kerner <mikeker...@roadrunner.com<mailto:mikeker...@roadrunner.com>> wrote: ah. that's a better way of handling this. i was going to have the app check the documents folder for updates, before loading a stack, but if i keep the source stacks, there, it will work better. On Thu, Feb 29, 2024 at 3:10 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: You can't add or change anything inside the app bundle so downloaded files have to go in specialFolderPath("documents"). Copy the originals from the resources folder to the documents folder on first launch so you always have a known file path location. Any file in documents will be overwritten with the new download if the file name is the same. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode