mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Build as Self Contained and Selfhost CefSharp SubProcess (#693)
* Added self contained parameter to builds * Remove dotnet install from installer * Fixed missing SubProcessExe * Self hot browser subprocess --------- Co-authored-by: Natsumi <cmcooper123@hotmail.com>
This commit is contained in:
@@ -26,7 +26,8 @@ namespace VRCX
|
||||
WindowlessRenderingEnabled = true,
|
||||
PersistSessionCookies = true,
|
||||
PersistUserPreferences = true,
|
||||
UserAgent = Program.Version
|
||||
UserAgent = Program.Version,
|
||||
BrowserSubprocessPath = Environment.ProcessPath
|
||||
};
|
||||
|
||||
cefSettings.RegisterScheme(new CefCustomScheme
|
||||
@@ -59,7 +60,7 @@ namespace VRCX
|
||||
//CefSharpSettings.WcfEnabled = true; // TOOD: REMOVE THIS LINE YO (needed for synchronous configRepository)
|
||||
CefSharpSettings.ShutdownOnExit = false;
|
||||
|
||||
if (Cef.Initialize(cefSettings) == false)
|
||||
if (Cef.Initialize(cefSettings, false) == false)
|
||||
{
|
||||
throw new Exception("Cef.Initialize()");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user