Change update URL

Fixes #162
This commit is contained in:
Sean Kaim
2016-11-02 16:35:03 -04:00
parent 60cd2c2b12
commit a01ef3bb08
4 changed files with 8 additions and 11 deletions

View File

@@ -1,19 +1,16 @@
namespace mRemoteNG.App.Info
{
public class UpdateChannelInfo
public static class UpdateChannelInfo
{
public static string FileName
{
get
{
#if DEBUG
#if DEBUG
return "update-debug.txt";
#else
if ((string)(mRemoteNG.Settings.Default.UpdateChannel.ToLowerInvariant()) == "debug")
return "update-debug.txt";
else
return "update.txt";
#endif
#else
return Settings.Default.UpdateChannel.ToLowerInvariant() == "debug" ? "update-debug.txt" : "update.txt";
#endif
}
}
}

View File

@@ -2169,7 +2169,7 @@ namespace mRemoteNG {
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("https://update.mremoteng.org/")]
[global::System.Configuration.DefaultSettingValueAttribute("https://mremoteng.org/")]
public string UpdateAddress {
get {
return ((string)(this["UpdateAddress"]));

View File

@@ -540,7 +540,7 @@
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="UpdateAddress" Type="System.String" Scope="Application">
<Value Profile="(Default)">https://update.mremoteng.org/</Value>
<Value Profile="(Default)">https://mremoteng.org/</Value>
</Setting>
<Setting Name="ConDefaultLoadBalanceInfo" Type="System.String" Scope="User">
<Value Profile="(Default)" />

View File

@@ -612,7 +612,7 @@
<value>release</value>
</setting>
<setting name="UpdateAddress" serializeAs="String">
<value>https://update.mremoteng.org/</value>
<value>https://mremoteng.org/</value>
</setting>
</mRemoteNG.Settings>
</applicationSettings>