From 15fa51f998ba544d28d934931bfde5455424ab9c Mon Sep 17 00:00:00 2001 From: Marcos Date: Sat, 2 Sep 2023 22:53:59 -0300 Subject: [PATCH] Removed dirty parsing from version string --- skiffWindowsApp/Skiff Desktop/TrayController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skiffWindowsApp/Skiff Desktop/TrayController.cs b/skiffWindowsApp/Skiff Desktop/TrayController.cs index 4c8107b..5f11af7 100644 --- a/skiffWindowsApp/Skiff Desktop/TrayController.cs +++ b/skiffWindowsApp/Skiff Desktop/TrayController.cs @@ -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)