v1.2.73 #231

Merged
GreemDev merged 63 commits from master into release 2024-11-19 14:33:32 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 640d7f9e77 - Show all commits

View File

@ -5,6 +5,8 @@ namespace Ryujinx.UI.Common.Models.Github
public class GithubReleasesJsonResponse
{
public string Name { get; set; }
public string TagName { get; set; }
public List<GithubReleaseAssetJsonResponse> Assets { get; set; }
}
}

View File

@ -101,7 +101,7 @@ namespace Ryujinx.Ava
string fetchedJson = await jsonClient.GetStringAsync(LatestReleaseUrl);
var fetched = JsonHelper.Deserialize(fetchedJson, _serializerContext.GithubReleasesJsonResponse);
_buildVer = fetched.Name;
_buildVer = fetched.TagName;
foreach (var asset in fetched.Assets)
{
@ -156,7 +156,7 @@ namespace Ryujinx.Ava
try
{
newVersion = Version.Parse(ReleaseInformation.IsCanaryBuild ? _buildVer.Split(' ')[1] : _buildVer);
newVersion = Version.Parse(_buildVer);
}
catch
{