Mobile - missing? files added in copy files pane of standalone builder
terry.judd at unimelb.edu.au
Sun Jul 16 16:09:41 EDT 2017
Ok, so when adding files in the ‘copy files’ pane I can only include files that are in the same folder (on disk) as the stack file if I want them to end up in the engine/home folder? I though assuming that the paths that are listed in the ‘Non-stack files in the application’ represent the location of the original file but that when the standalone was built they are all be copied into the same folder in the app? I thought I’d added externals this way in the past and had them work for example.
On 17/07/2017 5:27 am, "use-livecode on behalf of J. Landman Gay via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote:
> If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ‘put the files’, then the added files are included in the listing. However, if the added files are in a different folder (e.g. “stuff/test.pdf”) then they don’t show up. Should they, or is there something that I’m missing?
> LC 8.1.6 (rc1)
That's expected behavior, the files function isn't recursive. By
default, it returns only files in the default folder but you can specify
a different folder by adding an optional folder parameter.
Over the years a few people have posted recursive directory walk
scripts, but since you already know the folders included in the
standalone it's probably easier to just ask for each listing
individually if there aren't too many.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode