File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,23 +7,21 @@ namespace Ryujinx.Systems.Update.Common;
77
88public class VersionResponse
99{
10- [ JsonPropertyName ( "tag" ) ]
11- public required string Version { get ; set ; }
12-
13- [ JsonPropertyName ( "download_url" ) ]
14- public required string ArtifactUrl { get ; set ; }
15-
16- [ JsonPropertyName ( "web_url" ) ] public string ReleaseUrl => string . Format ( ReleaseUrlFormat , Version ) ;
17-
18- [ JsonPropertyName ( "web_url_format" ) ]
19- public required string ReleaseUrlFormat { get ; set ; }
10+ [ JsonPropertyName ( "tag" ) ] public required string Version { get ; set ; }
11+
12+ [ JsonPropertyName ( "download_url" ) ] public required string ArtifactUrl { get ; set ; }
13+
14+ [ JsonPropertyName ( "web_url" ) ] public string ReleaseUrl => string . Format ( ReleaseUrlFormat , Version ) ;
15+
16+ [ JsonIgnore ] public string ReleaseUrlFormat { get ; set ; }
2017}
2118
2219public class DownloadLinks
2320{
2421 [ JsonPropertyName ( "windows" ) ] public required SupportedPlatform Windows { get ; init ; }
2522 [ JsonPropertyName ( "linux" ) ] public required SupportedPlatform Linux { get ; init ; }
2623 [ JsonPropertyName ( "linux_appimage" ) ] public required SupportedPlatform LinuxAppImage { get ; init ; }
24+
2725 // ReSharper disable once InconsistentNaming
2826 [ JsonPropertyName ( "macOS" ) ] public required string MacOS { get ; init ; }
2927
You can’t perform that action at this time.
0 commit comments