Skip to content

Commit

Permalink
Removed dirty parsing from version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Novack committed Sep 3, 2023
1 parent 3f015e4 commit 15fa51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skiffWindowsApp/Skiff Desktop/TrayController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class UpdateData
[JsonPropertyName("published_at")]
public DateTime ReleaseDate { get; set; }

public Version Version { get { return Version.Parse(Tag.Replace("skiff-windows-", "")); } }
public Version Version { get { return Version.Parse(Tag); } }
}

private async void CheckForUpdates(object? sender, EventArgs e)
Expand Down

0 comments on commit 15fa51f

Please sign in to comment.