• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LiveCloud standalone issues...
#2
(07-26-2021, 12:17 PM)stamatis Wrote:
Quote:I had only included mergJSON with initial builds (as per the website). This seemed to fail, and resolved when i included the standard JSON library as well. Are both required or is this a coincidence?
CanelaDB does not need the standard JSON library to be included when making your standalone. I verified that LCM does not have it included. 


Quote:To ensure connectivity with liveCloud include the ‘canelaDB’ folder as an in the standalone settings ‘copy files’ section (ie should be available in specialFolderPath("resources"). On first run, this folder is copied to the user’s Documents folder (writeable location), along with he mainstack that is launched form the splash stack.
However when building a mac app, the locked libraries are causing the standalone build to fail with the error ‘cannot open output files’ or some such. I can work around this by removing the the CanelaDB folder from the ‘Copy Files’ section of the standalone settings, build the app and then manually copy this to <show app package contents>/Contents/Resources/_MacOS/
Is there a better way to do this?
This sounds like a LiveCode standalone builder bug. I'll give it a try and report back what I find. By chance, are you using the "Search for required inclusions when saving the standalone application" when building? LiveCode will not be able to read through encrypted files to see what is inside. They should fail nicely and continue to work in my opinion. Maybe it is not doing that gracefully.


Quote:On running a the same standalone on Mac and Windows, it works fine on Mac, but on Windows it crashes - after some head scratching it seems that the checksum library checks on Mac work fine but throw an error on Windows. I’ve worked around this by commenting out the checksum library checks - the app works beutifully and will be used in a very trusted environment so that’s fine, but it’s obviously not desirable otherwise.
Can multiple checksums be correct (ie should i have checksum that works for both mac and win, unlike the one i have now that only works for mac)? Or do i need to derive a Windows checksum and include a platform check in the library checks?
The checksums should work for both platforms. After all, LiveCloud Manager relies on identical checksums for both platforms. It uses the same libraries we output when you do an export toolkit. Is it possible you are not using the same libraries for both platforms? Maybe an older version is being used on the Windows side?

-Mark
  Reply


Messages In This Thread
LiveCloud standalone issues... - by stamatis - 07-26-2021, 12:17 PM
RE: LiveCloud standalone issues... - by mark_talluto - 07-27-2021, 01:12 AM
RE: LiveCloud standalone issues... - by stamatis - 07-27-2021, 11:11 AM
RE: LiveCloud standalone issues... - by stamatis - 07-29-2021, 10:07 AM
RE: LiveCloud standalone issues... - by stamatis - 07-30-2021, 06:04 PM
RE: LiveCloud standalone issues... - by stamatis - 07-31-2021, 10:56 AM
RE: LiveCloud standalone issues... - by stamatis - 08-01-2021, 02:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)