Skip to content

Commit e0fffc8

Browse files
committed
add new WebView2 C++ project, resource files, and update build script.
1 parent 3988846 commit e0fffc8

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Build-CPP.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#usage -----> powershell -ExecutionPolicy Bypass -Command "& {. .\Build-CPP.ps1; Dist -major 0 -minor 0 -patch 3}"
1+
#usage -----> powershell -ExecutionPolicy Bypass -Command "& {. .\Build-CPP.ps1; Dist -major 0 -minor 0 -patch 5}"
22
$msbuild = "C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe"
33

44
function Add-RMSkinFooter {

Resources/skin_definition.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"skinDir": ".\\Resources\\Skins",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"minimumVersion": "4.5",
55
"author": "nstechbytes",
66
"variableFiles": "",
@@ -17,5 +17,5 @@
1717
"load": "WebView2\\Clock\\Clock.ini",
1818
"headerImage": ".\\Resources\\banner.bmp",
1919
"configPrefix": "WebView2",
20-
"output": ".\\dist\\WebView2_v0.0.4_Alpha4.rmskin"
20+
"output": ".\\dist\\WebView2_v0.0.5_Alpha5.rmskin"
2121
}

WebView2/WebView2.rc

0 Bytes
Binary file not shown.

WebView2/WebView2.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@
204204
<Import Project="..\packages\Microsoft.Web.WebView2.1.0.1054.31\build\native\Microsoft.Web.WebView2.targets" Condition="Exists('..\packages\Microsoft.Web.WebView2.1.0.1054.31\build\native\Microsoft.Web.WebView2.targets')" />
205205
<Import Project="..\packages\Microsoft.Windows.ImplementationLibrary.1.0.211019.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.211019.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
206206
</ImportGroup>
207+
<PropertyGroup>
208+
<WebView2LoaderPreference>Static</WebView2LoaderPreference>
209+
</PropertyGroup>
207210
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
208211
<PropertyGroup>
209212
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>

0 commit comments

Comments
 (0)