Update elliebot release url with the new repo url
This commit is contained in:
parent
468728c4ef
commit
cd06397e64
1 changed files with 4 additions and 4 deletions
|
@ -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}";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue