Where to put app and how to reference it?
Posted: Sat Aug 18, 2012 10:19 pm
Firstly: This is on a Mac running 10.8 and using LiveCode 4.6.4
I have a fairly simple app that is just acting as the GUI to some open source Unix Executable that is normally run in the Terminal. My app asks the user to specify a source file, the app concatenates the file path with the proper syntax for the executable and then I use "put shell(myConcatenation)". It works.
However, I'd like to include the open source app -inside- my app so I don't have to worry about the user having to download and install the executable in the "proper" location (where my app expects to find it).
So the two questions are:
1. How to I put the executable inside my app? (I know how to "show package contents" but I think there's a way to do this from within the stack inspector.)
2. What path do I use to call the code when I don't know exactly where the user will install my app?
Thanks in advance for any assistance.
Barry
I have a fairly simple app that is just acting as the GUI to some open source Unix Executable that is normally run in the Terminal. My app asks the user to specify a source file, the app concatenates the file path with the proper syntax for the executable and then I use "put shell(myConcatenation)". It works.
However, I'd like to include the open source app -inside- my app so I don't have to worry about the user having to download and install the executable in the "proper" location (where my app expects to find it).
So the two questions are:
1. How to I put the executable inside my app? (I know how to "show package contents" but I think there's a way to do this from within the stack inspector.)
2. What path do I use to call the code when I don't know exactly where the user will install my app?
Thanks in advance for any assistance.
Barry