Skip to content

Commit 08a7fd9

Browse files
committed
The inevitable tweak once actually checking in prod.
1 parent ed5acb1 commit 08a7fd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LightroomSync/Form1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ private async void CheckForUpdates(bool silently)
602602
{
603603
try
604604
{
605-
version = await client.GetStringAsync("https://github.com/software-2/LightroomSync/raw/master/latestversion.txt");
605+
version = await client.GetStringAsync("https://github.com/software-2/LightroomSync/raw/master/latestVersion.txt");
606606
}
607607
catch (Exception ex)
608608
{
@@ -622,7 +622,7 @@ private async void CheckForUpdates(bool silently)
622622

623623
var parsed = Version.Parse(version);
624624

625-
if (parsed.CompareTo(currentVersion) != 0)
625+
if (parsed.CompareTo(Version.Parse(currentVersion)) != 0)
626626
{
627627
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();
628628
var result = MessageBox.Show(dialog, "New Version!", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);

0 commit comments

Comments
 (0)