Specifying supported platforms in Inclusions entry for LCB extension?
Posted: Tue Jul 10, 2018 4:00 am
I have some extensions that use FFI and are specific to a single platform. In the Standalone Builder > Inclusions tab I want the supported platform icons to represent the supported platform. Looking at revsblibrary.livecodescript I can see that extensions are hard coded to be supported on all platforms as there is this line of code:
Now that we have FFI it is more likely that an extension may only work on a single platform. Is there any support for specifying supported platforms in the extension header?
Code: Select all
-- LCB extensions are available on all platforms put revSBAllPlatforms() into tExtension["platforms"]