diff --git a/ModpackUpdater.Apps.Client/AppUpdater.cs b/ModpackUpdater.Apps.Client/AppUpdater.cs index 92a3ee2..4fe2f9a 100644 --- a/ModpackUpdater.Apps.Client/AppUpdater.cs +++ b/ModpackUpdater.Apps.Client/AppUpdater.cs @@ -13,7 +13,6 @@ public class AppUpdater [JsonConverter(typeof(VersionConverter))] public Version Version { get; set; } public string DownloadUrl { get; set; } - public string DownloadUrlLinux { get; set; } } private const string UPDATE_URL = "https://git.pilzinsel64.de/litw-refined/minecraft-modpack-updater/-/snippets/3/raw/main/updates.json"; @@ -62,7 +61,7 @@ public class AppUpdater Stream downloadStream = null; try { - var url = RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? info.DownloadUrlLinux : info.DownloadUrl; + var url = info.DownloadUrl; downloadStream = await client.GetStreamAsync(url); await downloadStream.CopyToAsync(tempFileStream); }