Closed bishen closed 5 years ago
A Sciter archive usage example.
To build it you need the packfolder tool from the Sciter SDK:
packfolder
resources
resources.go
packfolder resources resources.go -v resource_name -go
win.SetResourceArchive(resource_name)
Now the resulting executable is completely stand-alone.
// Similar code w.SetResourceArchive(resource_name) w.LoadFile("this://app/simple.html")
@bishen isn't it what the bundler does?
It will bind what is in your resources folder and extract it when binary will be executed for the first time.
A Sciter archive usage example.
To build it you need the
packfolder
tool from the Sciter SDK:resources
toresources.go
viapackfolder resources resources.go -v resource_name -go
win.SetResourceArchive(resource_name)
Now the resulting executable is completely stand-alone.
// Similar code w.SetResourceArchive(resource_name) w.LoadFile("this://app/simple.html")