Small changes

This commit is contained in:
Natsumi
2022-05-15 10:22:42 +12:00
parent 6edd271e88
commit 36ef398dda
3 changed files with 6 additions and 4 deletions

View File

@@ -50,6 +50,8 @@ namespace VRCX
// Enable High-DPI support on Windows 7 or newer
Cef.EnableHighDPISupport();
cefSettings.UserAgent = "VRCX Cef Browser";
if (Cef.Initialize(cefSettings) == false)
{
throw new Exception("Cef.Initialize()");