From 08a7fd9a1ede0073800edf5f62998ab746a07c60 Mon Sep 17 00:00:00 2001 From: Software2 Date: Tue, 23 May 2023 20:44:43 -0700 Subject: [PATCH] The inevitable tweak once actually checking in prod. --- LightroomSync/Form1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LightroomSync/Form1.cs b/LightroomSync/Form1.cs index 9eb1a68..39d9b29 100644 --- a/LightroomSync/Form1.cs +++ b/LightroomSync/Form1.cs @@ -602,7 +602,7 @@ private async void CheckForUpdates(bool silently) { try { - version = await client.GetStringAsync("https://github.com/software-2/LightroomSync/raw/master/latestversion.txt"); + version = await client.GetStringAsync("https://github.com/software-2/LightroomSync/raw/master/latestVersion.txt"); } catch (Exception ex) { @@ -622,7 +622,7 @@ private async void CheckForUpdates(bool silently) var parsed = Version.Parse(version); - if (parsed.CompareTo(currentVersion) != 0) + if (parsed.CompareTo(Version.Parse(currentVersion)) != 0) { var dialog = "There is a new version! Want to go get it?" + Environment.NewLine + Environment.NewLine + "New Version: " + parsed.ToString() + Environment.NewLine + "Your Version: " + currentVersion.ToString(); var result = MessageBox.Show(dialog, "New Version!", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);