|
@@ -53,7 +53,7 @@ internal partial class App : Application
|
|
|
|
|
|
AddNativeAssets();
|
|
|
|
|
|
- IPlatform.RegisterPlatform(GetActivePlatform());
|
|
|
+ InitPlatform();
|
|
|
|
|
|
ExtensionLoader extensionLoader = new ExtensionLoader();
|
|
|
extensionLoader.LoadExtensions();
|
|
@@ -62,6 +62,13 @@ internal partial class App : Application
|
|
|
MainWindow.Show();
|
|
|
}
|
|
|
|
|
|
+ private void InitPlatform()
|
|
|
+ {
|
|
|
+ var platform = GetActivePlatform();
|
|
|
+ IPlatform.RegisterPlatform(platform);
|
|
|
+ platform.PerformHandshake();
|
|
|
+ }
|
|
|
+
|
|
|
private IPlatform GetActivePlatform()
|
|
|
{
|
|
|
#if STEAM
|