Compare commits

...

2 commits

Author SHA1 Message Date
5cab4c2c80
I feel very special
I forgot to update the csproj files with the right version.
2024-12-22 21:56:24 +13:00
cd06397e64
Update elliebot release url with the new repo url 2024-12-22 21:08:06 +13:00
2 changed files with 5 additions and 5 deletions
EllieHub
EllieHub.csproj
Features/BotConfig/Services

View file

@ -20,7 +20,7 @@
<DebugType>embedded</DebugType>
<!--Version-->
<VersionPrefix>1.0.3.3</VersionPrefix>
<VersionPrefix>1.0.3.4</VersionPrefix>
<!--Avalonia Settings-->
<ApplicationManifest>app.manifest</ApplicationManifest>

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}";
}
}