Update elliebot release url with the new repo url

This commit is contained in:
Toastie 2024-12-22 21:08:06 +13:00
parent 468728c4ef
commit cd06397e64
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -15,12 +15,12 @@ namespace EllieHub.Services;
/// <summary>
/// Service that checks, downloads, installs, and updates a EllieBot instance.
/// </summary>
/// <remarks>Source: https://toastielab.dev/Emotions-stuff/elliebot/releases/latest</remarks>
/// <remarks>Source: https://toastielab.dev/EllieBotDevs/elliebot/releases/latest</remarks>
public sealed partial class EllieResolver : IBotResolver
{
private const string _cachedCurrentVersionKey = "currentVersion:EllieBot";
private const string _toastielabReleasesEndpointUrl = "https://toastielab.dev/api/v1/repos/Emotions-stuff/elliebot/releases/latest";
private const string _toastielabReleasesRepoUrl = "https://toastielab.dev/Emotions-stuff/elliebot/releases/latest";
private const string _toastielabReleasesEndpointUrl = "https://toastielab.dev/api/v1/repos/EllieBotDevs/elliebot/releases/latest";
private const string _toastielabReleasesRepoUrl = "https://toastielab.dev/EllieBotDevs/elliebot/releases/latest";
private static readonly HashSet<Guid> _updateIdOngoing = [];
private static readonly string _tempDirectory = Path.GetTempPath();
private static readonly Regex _unzipedDirRegex = GenerateUnzipedDirRegex();
@ -327,7 +327,7 @@ public sealed partial class EllieResolver : IBotResolver
}
catch (InvalidOperationException)
{
return $"https://toastielab.dev/Emotions-stuff/elliebot/releases/download/{latestVersion}/{downloadFileName}";
return $"https://toastielab.dev/EllieBotDevs/elliebot/releases/download/{latestVersion}/{downloadFileName}";
}
}