SteveSandersonMS / WebWindow
- пятница, 22 ноября 2019 г. в 00:23:42
TypeScript
.NET Core library to open native OS windows containing web UI on Windows, Mac, and Linux. Experimental.
For information, see this blog post.
You don't need to build this repo yourself, unless you want to change the WebWindow library itself. If you just want to use it in an app, grab the prebuilt NuGet package or follow these 'hello world' example steps.
For samples, open the WebWindow.Samples.sln solution
These projects reference the prebuilt NuGet package so can be built without building the native code in this repo.
If you want to build the WebWindow library itself, you will need:
WebWindow.Blazor.JS includes TypeScript code, so the build process involves calling Node to perform a Webpack build)testassets projects and choose Rebuild to force it to rebuild the native assets.gcc toolchain available on the command line.cd testassets/HelloWorldApp and dotnet run - this should build the native assets automatically.sudo apt-get update && sudo apt-get install libgtk-3-dev libwebkit2gtk-4.0-devcd testassets/HelloWorldApp and dotnet run - this should build the native assets automatically.