Update Cef and npm packages

This commit is contained in:
Natsumi
2024-08-28 13:55:49 +12:00
parent 6ac1a6570b
commit bc565abdae
7 changed files with 1740 additions and 1993 deletions

View File

@@ -29,7 +29,8 @@ namespace VRCX
PersistSessionCookies = true,
PersistUserPreferences = true,
UserAgent = Program.Version,
BrowserSubprocessPath = Environment.ProcessPath
BrowserSubprocessPath = Environment.ProcessPath,
BackgroundColor = 0xFF101010
};
cefSettings.RegisterScheme(new CefCustomScheme
@@ -60,8 +61,9 @@ namespace VRCX
if (Program.LaunchDebug)
{
// it's dead fuck https://github.com/chromiumembedded/cef/issues/3740
logger.Info("Debug mode enabled");
cefSettings.RemoteDebuggingPort = 8088;
cefSettings.RemoteDebuggingPort = 8089;
cefSettings.CefCommandLineArgs["remote-allow-origins"] = "*";
}