@jinxmcg Thanks! However your code uses Go.Rice directly (via `.FindBox`, `.String`) while it can be used [completely transparent](https://github.com/sciter-sdk/go-sciter/blob/master/rice/rice.go). #347
@jinxmcg Thanks! However your code uses Go.Rice directly (via `.FindBox`, `.String`) while it can be used [completely transparent](https://github.com/sciter-sdk/go-sciter/blob/master/rice/rice.go).
Essentially, rice.HandleDataLoad reduces your example to the following three calls:
Essentially,
rice.HandleDataLoad
reduces your example to the following three calls:Here is a full source code (also in examples/restest:
How to make it work:
go get github.com/GeertJohan/go.rice
,go get github.com/GeertJohan/go.rice/rice
go build
res
folderrice append /exec example.exe
~Although only the
rice append
is supported. I think it's worth to allow andrice embed
as well.~rice append
andrice embed-go
work both.Originally posted by @pravic in https://github.com/sciter-sdk/go-sciter/issues/124#issuecomment-377526649