mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
Fix overlay restart
This commit is contained in:
@@ -93,6 +93,7 @@ namespace VRCX
|
||||
Exit();
|
||||
Instance = new VRCXVRCef();
|
||||
Instance.Init();
|
||||
Program.VRCXVRInstance = Instance;
|
||||
MainForm.Instance.Browser.ExecuteScriptAsync("console.log('VRCXVR Restarted');");
|
||||
}
|
||||
|
||||
|
||||
@@ -81,6 +81,7 @@ namespace VRCX
|
||||
Exit();
|
||||
Instance = new VRCXVRLegacy();
|
||||
Instance.Init();
|
||||
Program.VRCXVRInstance = Instance;
|
||||
MainForm.Instance.Browser.ExecuteScriptAsync("console.log('VRCXVR Restarted');");
|
||||
}
|
||||
|
||||
|
||||
@@ -111,6 +111,7 @@ namespace VRCX
|
||||
Exit();
|
||||
Instance = new VRCXVRElectron();
|
||||
Instance.Init();
|
||||
Program.VRCXVRInstance = Instance;
|
||||
//MainForm.Instance.Browser.ExecuteScriptAsync("console.log('VRCXVR Restarted');");
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace VRCX
|
||||
public static string Version { get; private set; }
|
||||
public static bool LaunchDebug;
|
||||
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
||||
public static VRCXVRInterface VRCXVRInstance { get; private set; }
|
||||
public static VRCXVRInterface VRCXVRInstance { get; set; }
|
||||
public static AppApi AppApiInstance { get; private set; }
|
||||
public static AppApiVr AppApiVrInstance { get; private set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user