Cannot add stack in Standalone Application settings

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Cannot add stack in Standalone Application settings

Post by Klaus » Thu Sep 05, 2019 6:03 pm

kaveh1000 wrote:
Thu Sep 05, 2019 5:36 pm
"Copy files" so it ends up in -> specialfolderpath("resources") in your standalone.

If you keep the library in the same stack as your (later standalone) stack, you can also access it in the IDE with specialfolderpath("resources")!
Sorry Klaus, did not get this. Every time I create a Standalone it produces a new Directory, so where do I put the library so specialfolderpath("resources") can access it?
Add it to your standalone via the "Copy files" tab as explained earlier. LC does the rest and will copy this file(s) to the correct place/folder for the target OS! On macOS this is inside of the standalone application package.

I meant that specialfolderpath("resources") can also be used in the IDE, which has nothing to do with your original problem! 8)

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Cannot add stack in Standalone Application settings

Post by bogs » Thu Sep 05, 2019 6:49 pm

kaveh1000 wrote:
Thu Sep 05, 2019 6:01 pm
Thanks again, and I am sure I will be back to bother you soon!
's all good kaveh, I learned something myself. I never use the standalone settings to add files, so...
Klaus wrote:
Thu Sep 05, 2019 6:03 pm
Add it to your standalone via the "Copy files" tab as explained earlier. LC does the rest and will copy this file(s) to the correct place/folder for the target OS! On macOS this is inside of the standalone application package.
was news to me. Thank you Sinter-Klaus, great xmas present! :mrgreen:
Image

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Cannot add stack in Standalone Application settings

Post by Klaus » Thu Sep 05, 2019 6:55 pm

bogs wrote:
Thu Sep 05, 2019 6:49 pm
...
Thank you Sinter-Klaus, great xmas present! :mrgreen:
Graag gedaan! :D

Post Reply