diff --git a/MainPlugin.cs b/MainPlugin.cs index 5e39c9e..8ea3df1 100644 --- a/MainPlugin.cs +++ b/MainPlugin.cs @@ -20,7 +20,7 @@ namespace EnderIce2.SDRSharpPlugin bool RPCalreadyLoaded; private ISharpControl _control; bool playedBefore; - private SDRSharp.FrontEnds.SpyServer.ControllerPanel controllerPanel; + //private SDRSharp.FrontEnds.SpyServer.ControllerPanel controllerPanel; private TopWindowMessages windowMessages; [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0044:Add readonly modifier", Justification = "")] private RichPresence presence = new RichPresence() @@ -43,7 +43,6 @@ namespace EnderIce2.SDRSharpPlugin public void Initialize(ISharpControl control) { IConfigurationPanelProvider configurationPanelProvider; - if (Utils.GetBooleanSetting("ShowWelcomePage", true)) { new WelcomeForm().ShowDialog(); @@ -132,7 +131,7 @@ namespace EnderIce2.SDRSharpPlugin try { configurationPanelProvider = (IConfigurationPanelProvider)_control.Source; - controllerPanel = (SDRSharp.FrontEnds.SpyServer.ControllerPanel)configurationPanelProvider.Gui; + //controllerPanel = (SDRSharp.FrontEnds.SpyServer.ControllerPanel)configurationPanelProvider.Gui; } catch (Exception ex) { @@ -229,9 +228,9 @@ namespace EnderIce2.SDRSharpPlugin LogWriter.WriteToFile("Setting secret..."); try { - string sdr_url = "sdr://" + controllerPanel.Host + ":" + controllerPanel.Port + "/"; - LogWriter.WriteToFile(sdr_url); - presence.Secrets.JoinSecret = sdr_url; + //string sdr_url = "sdr://" + controllerPanel.Host + ":" + controllerPanel.Port + "/"; + //LogWriter.WriteToFile(sdr_url); + //presence.Secrets.JoinSecret = sdr_url; } catch (Exception ex) { diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index a23a50f..80cb610 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.0.1")] +[assembly: AssemblyFileVersion("1.0.0.1")] diff --git a/SDRSharpPlugin.DiscordRPC.csproj b/SDRSharpPlugin.DiscordRPC.csproj index 9a062a2..a4185bc 100644 --- a/SDRSharpPlugin.DiscordRPC.csproj +++ b/SDRSharpPlugin.DiscordRPC.csproj @@ -46,10 +46,6 @@ packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll False - - False - ..\..\..\Downloads\sdrsharp-x86\SDRSharp.exe - False ..\..\sdrsharp-x86\SDRSharp.Common.dll @@ -65,6 +61,7 @@ +