forked from LeenkxTeam/LNXRNT
Windows WebView2
This commit is contained in:
16
README.md
16
README.md
@ -12,7 +12,7 @@ cd LNXRNT
|
||||
**Windows**
|
||||
```bash
|
||||
# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
|
||||
Kinc\make -g direct3d11
|
||||
Kore\make -g direct3d11
|
||||
# Open generated Visual Studio project at `build\RunT.sln`
|
||||
# or use command line for solution file like C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" "build\Leenkx-RunT.sln" /p:Configuration=Release /p:Platform=x64 /m
|
||||
# Build for x64 & release
|
||||
@ -38,4 +38,16 @@ Kore/make -g opengl
|
||||
git clone https://github.com/jeroen/apple-libressl-sdk.git
|
||||
cd apple-libressl-sdk
|
||||
git checkout fce8ffe30c9939fa1d71076745d9b3c811b8a90e
|
||||
```
|
||||
```
|
||||
|
||||
**Webview for windodows**
|
||||
```bash
|
||||
# Windows needs the WebView2 SDK while mac and linux are OS implementations
|
||||
curl -L https://www.nuget.org/api/v2/package/Microsoft.Web.WebView2 -o webview2.zip
|
||||
powershell -Command "Expand-Archive -Path webview2.zip -DestinationPath webview2-tmp -Force"
|
||||
xcopy /E /I /Y webview2-tmp\build\native\include webview2\include\
|
||||
mkdir webview2\lib\x64
|
||||
copy webview2-tmp\build\native\x64\WebView2Loader.dll.lib webview2\lib\x64\WebView2Loader.lib
|
||||
rmdir /S /Q webview2-tmp
|
||||
del webview2.zip
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user