diff --git a/ElectronNET.API/BridgeConnector.cs b/ElectronNET.API/BridgeConnector.cs index 6d1ac4e..08a8474 100644 --- a/ElectronNET.API/BridgeConnector.cs +++ b/ElectronNET.API/BridgeConnector.cs @@ -23,14 +23,6 @@ namespace ElectronNET.API { Console.WriteLine("BridgeConnector connected!"); }); - _socket.On(Socket.EVENT_CONNECT_ERROR, (args) => - { - Console.WriteLine("Socket error! {0}", args??"no args"); - }); - _socket.On(Socket.EVENT_DISCONNECT, (args) => - { - Console.WriteLine("Socket Disconnect! {0}", args ?? "no args"); - }); } } } @@ -41,7 +33,6 @@ namespace ElectronNET.API if (_socket == null && !HybridSupport.IsElectronActive) { _socket = IO.Socket(new Uri("http://localhost"), new IO.Options { AutoConnect = false }); - Console.WriteLine("Electron not active. Socket created."); } } } diff --git a/ElectronNET.API/ElectronNET.API.csproj b/ElectronNET.API/ElectronNET.API.csproj index 76e2c52..21a5ae1 100644 --- a/ElectronNET.API/ElectronNET.API.csproj +++ b/ElectronNET.API/ElectronNET.API.csproj @@ -40,7 +40,6 @@ This package contains the API to access the "native" electron API. all runtime; build; native; contentfiles; analyzers - diff --git a/ElectronNET.API/HybridSupport.cs b/ElectronNET.API/HybridSupport.cs index 0a3c59f..935ea51 100644 --- a/ElectronNET.API/HybridSupport.cs +++ b/ElectronNET.API/HybridSupport.cs @@ -1,6 +1,4 @@ -using Quobject.SocketIoClientDotNet.Client; - -namespace ElectronNET.API +namespace ElectronNET.API { /// /// @@ -20,10 +18,5 @@ namespace ElectronNET.API return !string.IsNullOrEmpty(BridgeSettings.SocketPort); } } - - /// - /// - /// - public static Socket Socket { get { return BridgeConnector.Socket; } } } } \ No newline at end of file diff --git a/ElectronNET.CLI/done.txt b/ElectronNET.CLI/done.txt deleted file mode 100644 index 1efa930..0000000 --- a/ElectronNET.CLI/done.txt +++ /dev/null @@ -1,5 +0,0 @@ -added npm package serialize-error to CLI api as a dependency -It's used because node errors aren't stringified completely. ("message" gets lost in normal stringify while sending over socket) - -catch() clauses in electron-updater - diff --git a/ElectronNET.CLI/updatetool.ps1 b/ElectronNET.CLI/updatetool.ps1 deleted file mode 100644 index ac8e9e7..0000000 --- a/ElectronNET.CLI/updatetool.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -dotnet tool uninstall -g electronnet.cli -dotnet tool install -g --add-source ../artifacts electronnet.cli \ No newline at end of file