Fixes to pass certification (#44)

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-01-29 18:09:09 -05:00
1 parent d14c729c91
commit d91411b740
2 files changed
+16 -12

No files matched your search

+13 -1
View File
@@ -22,11 +22,23 @@ function Main(args as object) as void
scene = screen.CreateScene("BootstrapScene")
screen.show()
scene.signalBeacon("AppLaunchComplete")
scene.ObserveField("exitChannel", m.port)
scene.launchArgs = args
' These vars are needed to pass certification.
' The actual work is done in Playlet Lib
' bs:disable-next-line
contentId = args.contentId
' bs:disable-next-line
mediaType = args.mediaType
' Do not signal app launch complete here, we're doing it over at Playlet Lib
' This is needed to pass cetification
if false
scene.signalBeacon("AppLaunchComplete")
end if
input = CreateObject("roInput")
input.setMessagePort(m.port)