Skip to content

Commit

Permalink
Make it show dialog if no update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben2776 committed Sep 15, 2021
1 parent 24448da commit 44051dd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions PicView/Views/Windows/InfoWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using PicView.ConfigureSettings;
using AutoUpdaterDotNET;
using PicView.ConfigureSettings;
using PicView.UILogic.Animations;
using PicView.UILogic.Sizing;
using System;
Expand Down Expand Up @@ -73,7 +74,9 @@ private void Window_ContentRendered(object sender, EventArgs e)

UpdateButton.MouseLeftButtonUp += delegate
{
AutoUpdaterDotNET.AutoUpdater.Start("https://picview.org/update.xml");
AutoUpdater.ShowRemindLaterButton = false;
AutoUpdater.ReportErrors = true;
AutoUpdater.Start("https://picview.org/update.xml");
};

UpdateButton.MouseEnter += delegate { MouseOverAnimations.ButtonMouseOverAnim(UpdateText); };
Expand Down

0 comments on commit 44051dd

Please sign in to comment.