SteveSandersonMS / WebWindow

.NET Core library to open native OS windows containing web UI on Windows, Mac, and Linux. Experimental.
Apache License 2.0
1.98k stars 215 forks source link

Add RunFromString & RunFromResolver for WebWindow.Blazor #28

Open Berrysoft opened 4 years ago

Berrysoft commented 4 years ago

I'm looking for a way to embed the remain static files to the program, so that users won't be able to change or delete them easily.

RunFromString loads index.html from a string, but other static files like stylesheets sill from rootPath.

RunFromResolver lets the developers load their files freely, and all files could be loaded from an embedded resource.

No other API or behavior changes.