Update for "Set Program Access and Defaults" support

This commit is contained in:
2015-11-02 20:11:35 -05:00
parent f7dddff14d
commit ff2ef0fd46
4 changed files with 194 additions and 148 deletions

View File

@@ -87,7 +87,8 @@ namespace FeedCenter
Current.SetStartWithWindows(Settings.Default.StartWithWindows);
// Set whether we should be the default feed reader
SystemConfiguration.SetDefaultFeedReader(Settings.Default.RegisterAsDefaultFeedReader);
if (Settings.Default.RegisterAsDefaultFeedReader)
SystemConfiguration.SetDefaultFeedReader();
// Initialize the window
mainWindow.Initialize();