mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-26 17:23:56 -05:00
Merge branch 'main' into prerelease
# Conflicts: # Application/FeedCenter.csproj # Application/Properties/Resources.resx
This commit is contained in:
@@ -213,7 +213,7 @@ public partial class MainWindow
|
||||
if (DateTime.Now - Settings.Default.LastVersionCheck >= Settings.Default.VersionCheckInterval)
|
||||
{
|
||||
// Get the update information
|
||||
UpdateCheck.CheckForUpdate().Wait();
|
||||
UpdateCheck.CheckForUpdate(Settings.Default.IncludePrerelease).Wait();
|
||||
|
||||
// Update the last check time
|
||||
Settings.Default.LastVersionCheck = DateTime.Now;
|
||||
|
||||
@@ -90,7 +90,7 @@ public partial class MainWindow : IDisposable
|
||||
|
||||
// Check for update
|
||||
if (Settings.Default.CheckVersionAtStartup)
|
||||
await UpdateCheck.CheckForUpdate();
|
||||
await UpdateCheck.CheckForUpdate(Settings.Default.IncludePrerelease);
|
||||
|
||||
// Show the link if updates are available
|
||||
if (UpdateCheck.UpdateAvailable)
|
||||
|
||||
@@ -34,6 +34,6 @@ public partial class MainWindow
|
||||
|
||||
private void HandleNewVersionLinkClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
UpdateCheck.DisplayUpdateInformation(true);
|
||||
UpdateCheck.DisplayUpdateInformation(true, Settings.Default.IncludePrerelease);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user