Skip to content

Commit

Permalink
Fix wrong GUI version displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrsuder committed Aug 1, 2019
1 parent 8d0c2fe commit 4c8629c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace ImageEnhancingUtility.Winforms
{
public partial class MainForm : Form, IViewFor<IEU>
{
public readonly string AppVersion = "0.9.07";
public readonly string AppVersion = "0.9.8";
public readonly string GitHubRepoName = "IEU.Winforms";

public IEU ViewModel { get; set; }
Expand Down Expand Up @@ -223,7 +223,7 @@ public MainForm()
changeOutputPath_button.Tag = outputPath_textBox;
changeModelsPath_button.Tag = modelsPath_textBox;

appVersion_label.Text = "GUI v" + Application.ProductVersion;
appVersion_label.Text = "GUI v" + this.AppVersion;
appCoreVersion_linkLabel.Text = "IEU.Core v" + ViewModel.AppVersion;

this.Bind(ViewModel, vm => vm.UseDifferentModelForAlpha, v => v.useDifferentModelForAlpha_checkBox.Checked);
Expand Down Expand Up @@ -491,10 +491,10 @@ void CreateModelTree()

async Task CheckNewReleases()
{
var checkerCore = new UpdateChecker("ptrsuder", ViewModel.GitHubRepoName, ViewModel.AppVersion);
//var checkerCore = new UpdateChecker("ptrsuder", ViewModel.GitHubRepoName, ViewModel.AppVersion);
var checkerWinforms = new UpdateChecker("ptrsuder", this.GitHubRepoName, this.AppVersion);
//ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
UpdateType updateCore = await checkerCore.CheckUpdate();
//UpdateType updateCore = await checkerCore.CheckUpdate();
UpdateType updateWinforms = await checkerWinforms.CheckUpdate();

string updateMessage = "";
Expand Down

0 comments on commit 4c8629c

Please sign in to comment.