Moved repo from Emotions-stuff to EllieBotDevs

Also upped version to 1.0.3.3
This commit is contained in:
Toastie 2024-12-19 01:29:57 +13:00
parent 9e00d65418
commit e270daeeb1
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -13,8 +13,8 @@ namespace EllieHub.Features.Home.Services;
public sealed class AppResolver : IAppResolver public sealed class AppResolver : IAppResolver
{ {
private const string _cachedCurrentVersionKey = "currentVersion:EllieHub"; private const string _cachedCurrentVersionKey = "currentVersion:EllieHub";
private const string _toastielabReleasesEndpointUrl = "https://toastielab.dev/api/v1/repos/Emotions-stuff/EllieHub/releases/latest"; private const string _toastielabReleasesEndpointUrl = "https://toastielab.dev/api/v1/repos/EllieBotDevs/EllieHub/releases/latest";
private const string _toastielabReleasesRepoUrl = "https://toastielab.dev/Emotions-stuff/EllieHub/releases/latest"; private const string _toastielabReleasesRepoUrl = "https://toastielab.dev/EllieBotDevs/EllieHub/releases/latest";
private static readonly string _tempDirectory = Path.GetTempPath(); private static readonly string _tempDirectory = Path.GetTempPath();
private static readonly string _downloadedFileName = GetDownloadFileName(); private static readonly string _downloadedFileName = GetDownloadFileName();
private readonly IHttpClientFactory _httpClientFactory; private readonly IHttpClientFactory _httpClientFactory;
@ -213,7 +213,7 @@ public sealed class AppResolver : IAppResolver
} }
catch (InvalidOperationException) catch (InvalidOperationException)
{ {
return $"https://toastielab.dev/Emotions-stuff/EllieHub/releases/download/{latestVersion}/{_downloadedFileName}"; return $"https://toastielab.dev/EllieBotDevs/EllieHub/releases/download/{latestVersion}/{_downloadedFileName}";
} }
} }