Web panel: an in-game WebView2 page for plugins (API v94) #12
2 changed files with 40 additions and 1 deletions
Ship WebView2 Core and the x86 loader in Runtime; installer checks; notices
Build-Installer.ps1 now requires Runtime\Microsoft.Web.WebView2.Core.dll and Runtime\WebView2Loader.dll in a CoreCLR staging tree. THIRD-PARTY-NOTICES.md gains the Microsoft WebView2 SDK entry with the licence copied from the package's LICENSE.txt. A scratch EngineOnly publish put both DLLs at the target root, the loader is x86 (0x14C), and no runtimes\ folder or WinForms/Wpf DLL is present, so no csproj change was needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit
9797db14a3
|
|
@ -76,3 +76,40 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
```
|
||||
|
||||
## Microsoft WebView2 SDK (the in-game web panel)
|
||||
|
||||
- What: `Microsoft.Web.WebView2.Core.dll` (the managed WebView2 Core wrapper) and the x86 `WebView2Loader.dll`, which the engine uses to host the in-game web panel on the CoreCLR build. They find and drive the Evergreen WebView2 Runtime already installed on the machine; the runtime itself is not shipped.
|
||||
- Where: shipped in `Runtime\` of every CoreCLR install, referenced from `src/RynthCore.Engine/RynthCore.Engine.csproj` (NuGet `Microsoft.Web.WebView2` 1.0.2903.40). The package's WinForms and WPF assemblies are not used or shipped.
|
||||
- Source: https://www.nuget.org/packages/Microsoft.Web.WebView2
|
||||
- Licence: Microsoft's BSD-style licence, reproduced below from the package's own LICENSE.txt.
|
||||
|
||||
```
|
||||
Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
* The name of Microsoft Corporation, or the names of its contributors
|
||||
may not be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
```
|
||||
|
|
|
|||
|
|
@ -359,7 +359,9 @@ if (-not $NativeAot) {
|
|||
$required += @(
|
||||
"$StagingDir\Runtime\RynthCore.Shim.dll",
|
||||
"$StagingDir\Runtime\dotnet\coreclr.dll",
|
||||
"$StagingDir\Runtime\dotnet\System.Private.CoreLib.dll"
|
||||
"$StagingDir\Runtime\dotnet\System.Private.CoreLib.dll",
|
||||
"$StagingDir\Runtime\Microsoft.Web.WebView2.Core.dll",
|
||||
"$StagingDir\Runtime\WebView2Loader.dll"
|
||||
)
|
||||
}
|
||||
if (-not $SkipDecalBridge) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue