Skip to content

Commit fd23033

Browse files
committed
remove default updater url
1 parent a8b98e6 commit fd23033

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Framework/Intersect.Framework.Core/Configuration/ClientConfiguration.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ public static ClientConfiguration LoadAndSave(string? filePath = default) =>
4141

4242
public const int DefaultPort = 5400;
4343

44-
public const string DefaultUpdateUrl = $"https://localhost:5443/assets/{Updater.KeywordAppManifest}";
45-
4644
public static List<DisplayDirection> DefaultEntityBarDirections =>
4745
Enumerable
4846
.Range(0, 1 + Enum.GetValues<Vital>().Length)
@@ -200,7 +198,7 @@ public void Validate()
200198
/// <summary>
201199
/// The address for the update manifest file generated by the editor.
202200
/// </summary>
203-
public string UpdateUrl { get; set; } = DefaultUpdateUrl;
201+
public string? UpdateUrl { get; set; }
204202

205203
/// <summary>
206204
/// Sets a custom mouse cursor.

Intersect.Client.Core/MonoGame/IntersectGame.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private IntersectGame(IClientContext context, Action postStartupAction)
129129

130130
// Store frequently used property values in local variables.
131131
string mouseCursor = ClientConfiguration.Instance.MouseCursor;
132-
string updateUrl = ClientConfiguration.Instance.UpdateUrl;
132+
string? updateUrl = ClientConfiguration.Instance.UpdateUrl;
133133

134134
// If we're going to be rendering a custom mouse cursor, hide the default one!
135135
if (!string.IsNullOrWhiteSpace(mouseCursor))
@@ -275,7 +275,7 @@ protected override void Update(GameTime gameTime)
275275
{
276276
break;
277277
}
278-
278+
279279
if (!ProcessHelper.TryRelaunch())
280280
{
281281
ApplicationContext.CurrentContext.Logger.LogWarning("Failed to restart automatically");

0 commit comments

Comments
 (0)