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