|
@@ -63,6 +63,11 @@ namespace fis.Managers
|
|
|
|
|
|
private static FisBrowser? _slaveBrowser;
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 获取rpc通信的Service
|
|
|
+ /// </summary>
|
|
|
+ public static IPlatformService PlatformService => _platformService;
|
|
|
+
|
|
|
static BrowserManager()
|
|
|
{
|
|
|
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
|
@@ -142,6 +147,7 @@ namespace fis.Managers
|
|
|
}
|
|
|
_slaveBrowser.Settings.WebSecurity = CefState.Disabled;
|
|
|
}
|
|
|
+
|
|
|
return _slaveBrowser;
|
|
|
}
|
|
|
}
|