You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
take "minimal" as an example: <html window-icon="icon.png"> doesn't work, because "icon.png" isn't found in memory
Could give an example to load files from disk. It is helpful to hot-reload
The text was updated successfully, but these errors were encountered:
taodongl
changed the title
Could provide example to load resource files(icon, css, js) which doesn't rely on "packfolder.exe"?
Could provide example to load resource files(html, icon, css, js) from disk?
Jan 17, 2022
Oh right, it will not be loaded because the URL we use is a virtual one: example://minimal.htm.
So, it should be either a file path or all resources should be packed to a single resource package (for example, archived.rs). Or via a custom resource loader.
Regarding the hot reload - it can also be done via a script itself: c-smile/sciter-sdk#164.
take "minimal" as an example:
<html window-icon="icon.png">
doesn't work, because "icon.png" isn't found in memoryCould give an example to load files from disk. It is helpful to hot-reload
The text was updated successfully, but these errors were encountered: