diff --git a/ElectronNET.API/App.cs b/ElectronNET.API/App.cs index 0659038..bf08b75 100644 --- a/ElectronNET.API/App.cs +++ b/ElectronNET.API/App.cs @@ -538,6 +538,9 @@ namespace ElectronNET.API } } + /// + /// Manually set that the app is ready instead of using the UseElectron extension method + /// public static void ManuallySetIsReady() { Instance.IsReady = true; diff --git a/ElectronNET.API/BridgeSettings.cs b/ElectronNET.API/BridgeSettings.cs index 4aaef20..daa230a 100644 --- a/ElectronNET.API/BridgeSettings.cs +++ b/ElectronNET.API/BridgeSettings.cs @@ -21,6 +21,11 @@ /// public static string WebPort { get; internal set; } + /// + /// Manually set the port values instead of using the UseElectron extension method + /// + /// + /// public static void InitializePorts(int socketPort, int webPort) { SocketPort = socketPort.ToString();