diff --git a/Helpers/Updater/GitHubUpdate.cs b/Helpers/Updater/GitHubUpdate.cs
index 520ed42b..1db4c70d 100644
--- a/Helpers/Updater/GitHubUpdate.cs
+++ b/Helpers/Updater/GitHubUpdate.cs
@@ -69,12 +69,12 @@ private static void CheckForUpdates(bool showWhenUpToDate)
private static void RemoveCurrentAndOlderVersions()
{
int releasesCount = releases.Count;
- Version version = Assembly.GetExecutingAssembly().GetName().Version;
- string majorPlusMinorVersionString = $"{version.Major}.{version.Minor}.{version.Build}";
+ Version versionCurrent = Assembly.GetExecutingAssembly().GetName().Version;
for (int i = 0; i < releasesCount; i++)
{
- string tag_name = releases[i]["tag_name"].ToString();
- if (tag_name.Contains($"{majorPlusMinorVersionString}."))
+ string tagName = releases[i]["tag_name"].ToString();
+ Version versionGitHub = new Version(tagName.Replace("v", string.Empty));
+ if (versionGitHub.CompareTo(versionCurrent) < 1)
{
releases.RemoveRange(i, releasesCount - i);
break;
diff --git a/Packaging/Package.appxmanifest b/Packaging/Package.appxmanifest
index 1a6b7267..3d2486f1 100644
--- a/Packaging/Package.appxmanifest
+++ b/Packaging/Package.appxmanifest
@@ -10,7 +10,7 @@
+ Version="1.3.1.0" />
SystemTrayMenu
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index 8f42412f..8625cc5a 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -39,5 +39,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.3.0.19")]
-[assembly: AssemblyFileVersion("1.3.0.19")]
+[assembly: AssemblyVersion("1.3.1.0")]
+[assembly: AssemblyFileVersion("1.3.1.0")]