Specifying supported platforms in Inclusions entry for LCB extension?

Moderators: LCMark, LCfraser

Post Reply
trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 873
Joined: Sat Apr 08, 2006 3:06 pm
Location: Overland Park, Kansas
Contact:

Specifying supported platforms in Inclusions entry for LCB extension?

Post by trevordevore » 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:

Code: Select all

-- LCB extensions are available on all platforms
put revSBAllPlatforms() into tExtension["platforms"]
 
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?
Trevor DeVore
ScreenSteps - http://www.screensteps.com

Levure Application Framework: https://github.com/trevordevore/levure
LiveCode Resources for Developers: http://livecode.bluemangolearning.com

Post Reply

Return to “LiveCode Builder”