remove linux update url

This commit is contained in:
2025-06-30 11:49:24 +02:00
parent 70786fc169
commit d8c798fe09

View File

@@ -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);
}