diff --git a/Application/FeedCenter.csproj b/Application/FeedCenter.csproj
index 2da3288..fde4520 100644
--- a/Application/FeedCenter.csproj
+++ b/Application/FeedCenter.csproj
@@ -24,7 +24,7 @@
-
+
diff --git a/Application/MainWindow/FeedReading.cs b/Application/MainWindow/FeedReading.cs
index f283c5e..e89d7ee 100644
--- a/Application/MainWindow/FeedReading.cs
+++ b/Application/MainWindow/FeedReading.cs
@@ -178,7 +178,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;
diff --git a/Application/MainWindow/MainWindow.xaml.cs b/Application/MainWindow/MainWindow.xaml.cs
index 250f4a6..b2984f5 100644
--- a/Application/MainWindow/MainWindow.xaml.cs
+++ b/Application/MainWindow/MainWindow.xaml.cs
@@ -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)
diff --git a/Application/MainWindow/UpdateHandler.cs b/Application/MainWindow/UpdateHandler.cs
index 7551e01..2b6e759 100644
--- a/Application/MainWindow/UpdateHandler.cs
+++ b/Application/MainWindow/UpdateHandler.cs
@@ -34,6 +34,6 @@ public partial class MainWindow
private void HandleNewVersionLinkClick(object sender, RoutedEventArgs e)
{
- UpdateCheck.DisplayUpdateInformation(true);
+ UpdateCheck.DisplayUpdateInformation(true, Settings.Default.IncludePrerelease);
}
}
\ No newline at end of file
diff --git a/Application/Options/UpdateOptionsPanel.xaml b/Application/Options/UpdateOptionsPanel.xaml
index f4a4c4e..d96e95a 100644
--- a/Application/Options/UpdateOptionsPanel.xaml
+++ b/Application/Options/UpdateOptionsPanel.xaml
@@ -13,6 +13,10 @@
Name="CheckVersionOnStartupCheckBox"
IsChecked="{Binding Source={x:Static properties:Settings.Default}, Path=CheckVersionAtStartup}"
Click="OnSaveSettings" />
+
diff --git a/Application/Options/UpdateOptionsPanel.xaml.cs b/Application/Options/UpdateOptionsPanel.xaml.cs
index 20187c5..8ccc626 100644
--- a/Application/Options/UpdateOptionsPanel.xaml.cs
+++ b/Application/Options/UpdateOptionsPanel.xaml.cs
@@ -15,7 +15,7 @@ public partial class UpdateOptionsPanel
private void HandleCheckVersionNowButtonClick(object sender, RoutedEventArgs e)
{
- UpdateCheck.DisplayUpdateInformation(true);
+ UpdateCheck.DisplayUpdateInformation(true, Settings.Default.IncludePrerelease);
}
private void OnSaveSettings(object sender, RoutedEventArgs e)
diff --git a/Application/Properties/Resources.Designer.cs b/Application/Properties/Resources.Designer.cs
index 41d4719..8980b65 100644
--- a/Application/Properties/Resources.Designer.cs
+++ b/Application/Properties/Resources.Designer.cs
@@ -957,6 +957,15 @@ namespace FeedCenter.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Include _prerelease.
+ ///
+ public static string includePrereleaseCheckBox {
+ get {
+ return ResourceManager.GetString("includePrereleaseCheckBox", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Last Updated.
///
diff --git a/Application/Properties/Resources.resx b/Application/Properties/Resources.resx
index b04dc5a..e388896 100644
--- a/Application/Properties/Resources.resx
+++ b/Application/Properties/Resources.resx
@@ -561,4 +561,7 @@ All feeds currently in category "{0}" will be moved to the default category.
Too many requests
+
+ Include _prerelease
+
\ No newline at end of file
diff --git a/Application/Properties/Settings.Designer.cs b/Application/Properties/Settings.Designer.cs
index 9b3bfcc..b04f030 100644
--- a/Application/Properties/Settings.Designer.cs
+++ b/Application/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace FeedCenter.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -302,5 +302,17 @@ namespace FeedCenter.Properties {
return ((string)(this["DatabaseFile"]));
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool IncludePrerelease {
+ get {
+ return ((bool)(this["IncludePrerelease"]));
+ }
+ set {
+ this["IncludePrerelease"] = value;
+ }
+ }
}
}
diff --git a/Application/Properties/Settings.settings b/Application/Properties/Settings.settings
index 08f6ebc..0d66649 100644
--- a/Application/Properties/Settings.settings
+++ b/Application/Properties/Settings.settings
@@ -74,5 +74,8 @@
FeedCenter.realm
+
+ False
+
\ No newline at end of file
diff --git a/Application/app.config b/Application/app.config
index 991c074..f06d544 100644
--- a/Application/app.config
+++ b/Application/app.config
@@ -49,6 +49,9 @@
+
+ False
+