mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-13 17:22:48 -05:00
Move update message logic to common and remove restarting on update (installer will do that)
This commit is contained in:
@@ -16,7 +16,7 @@ namespace FeedCenter.Options
|
||||
|
||||
applicationNameLabel.Text = Properties.Resources.ApplicationDisplayName;
|
||||
|
||||
string version = UpdateCheck.CurrentVersion.ToString();
|
||||
string version = UpdateCheck.LocalVersion.ToString();
|
||||
versionLabel.Text = string.Format(Properties.Resources.Version, version);
|
||||
|
||||
companyLabel.Text = ((AssemblyCompanyAttribute) Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false)[0]).Company;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace FeedCenter.Options
|
||||
using Common.Update;
|
||||
|
||||
namespace FeedCenter.Options
|
||||
{
|
||||
public partial class UpdateOptionsPanel
|
||||
{
|
||||
@@ -32,7 +34,7 @@
|
||||
|
||||
private void HandleCheckVersionNowButtonClick(object sender, System.Windows.RoutedEventArgs e)
|
||||
{
|
||||
VersionCheck.DisplayUpdateInformation(true);
|
||||
UpdateCheck.DisplayUpdateInformation(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user