I am using the latest version of OSX.
I found an interesting quirk with Livecode's copy files section of StandAlone Application Settings. Not sure if it is a bug.
When I pick a file, if that file is on my desktop, the file will be included with the build.
The file path displays correctly as:
/Users/myname/Desktop/filename.jpg - the file is included in the build and every thing works
HOWEVER...
If I pick the file from my documents folder / A Livecode Files / Graphics:
it shows in the list as:
Graphics/filename.jpg - this will not build and it messes up the App. because the files are just missing.
The absolute path in this case is:
/Users/myname/Documents/A Livecode Files/Graphics/filename.jpg
but you can't get this full pathname to appear by using the filepicking button?
My guess is that Livecode can't find the files to include because of some file path bug?
or possibly I am missing some kind of installation setting?
I had been puzzled why everything broke a few weeks ago. Then it dawned on me that it happened when I moved my include files from the desktop to a subfolder and then re-chose their locations.
Quirk copying files in standalone application settings
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 92
- Joined: Thu Feb 14, 2013 7:17 pm
Re: Quirk copying files in standalone application settings
Hi jekyllandhyde
I'm not sure I understand the mistake (i progress slowly in english) but i believe you think you can copy files/folder in the document folder by the copy file pan.
It is not the case, the files/folder are copied in the app.
Best regards
Jean-Marc
I'm not sure I understand the mistake (i progress slowly in english) but i believe you think you can copy files/folder in the document folder by the copy file pan.
It is not the case, the files/folder are copied in the app.
Best regards
Jean-Marc
https://alternatic.ch
Re: Quirk copying files in standalone application settings
The file paths that the standalone settings creates are relative to the position of your mainstack. It looks like your mainstack is in Documents/ A Livecode Files / which is why only the subfolder is listed. So that part is working correctly. It should include all the files in your Graphics folder as long as the path it generates ends with an asterisk:
Graphics/*
Use the "add folder" button to get it to do that.
Graphics/*
Use the "add folder" button to get it to do that.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 92
- Joined: Thu Feb 14, 2013 7:17 pm
Re: Quirk copying files in standalone application settings
I tried adding the folder and it shows as you say - Graphics/* but no files in the folder get included on the build of the App. I mean this is a pretty simple setting in Livecode which is pretty much idiot proof. But as I said in my post, no files are included unless I pick a folder that is not in the same file tree as the stack.
Re: Quirk copying files in standalone application settings
That's bizarre. I've never had any trouble with it so I'm not sure what's wrong. I always keep my resources in subfolders inside the mainstack's folder, just like your Graphics folder. Sorry, I'm stumped.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com