mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
mRemoteV1/Properties/Settings.Designer.cs
generated
2
mRemoteV1/Properties/Settings.Designer.cs
generated
@@ -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"]));
|
||||
|
||||
@@ -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)" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user