When deploying my app with this wrapper on Linux, the app would get stuck forever. After a lot of digging I've came to a conclusion that the problem is with lcurl - it won't load on Linux.
All I had to do was to uncomment this:
-- l_require = require
-- function require(name)
-- -- Hack to stop it looking for lcurl, which we don't really need
-- if name == "lcurl.safe" then
-- return
-- end
-- return l_require(name)
-- end
I've also removed functions that were doing some web stuff (DownloadPage and CheckForUpdate). In my use case I don't need those anyway.
Also, make sure that the PoB installation doesn't contain Settings.xml file - it might contain a file path. If its Windows path - it would break as well.
Just dropping those notes in here just in case someone would have similar issues.
When deploying my app with this wrapper on Linux, the app would get stuck forever. After a lot of digging I've came to a conclusion that the problem is with
lcurl- it won't load on Linux.All I had to do was to uncomment this:
I've also removed functions that were doing some web stuff (
DownloadPageandCheckForUpdate). In my use case I don't need those anyway.Also, make sure that the PoB installation doesn't contain
Settings.xmlfile - it might contain a file path. If its Windows path - it would break as well.Just dropping those notes in here just in case someone would have similar issues.