Is there a way to check that the application is running as an HTML5 export so I can conditionally execute a different branch of code?
I'm using the lfs and lsqlite3 plugins which appear to not be compatible with the HTML5 export; I think I could replace the functionally on the web application with some REST API calls, but need to be able to do some platform based conditional branching.
if platform == "HTML5" then
-- call REST endpoint
else
lfs = require('lfs')
-- do some stuff against the local file system
end |
would like to
Comments
Likes: antix, simwhi
Likes: antix
https://deluxepixel.com