UpdatesAvailableDialog: fix label naming & add OK response for install button
This commit is contained in:
@@ -42,17 +42,17 @@ namespace Pilz.Updating
|
||||
|
||||
public static bool operator >(ApplicationVersion a, ApplicationVersion b)
|
||||
{
|
||||
return a.Version > b.Version || a.Version == b.Version && (a.Channel < b.Channel || a.Channel == b.Channel && a.Build > b.Build);
|
||||
return a.Version > b.Version || a.Version == b.Version && (a.Channel < b.Channel || (a.Channel == b.Channel && a.Build > b.Build));
|
||||
}
|
||||
|
||||
public static bool operator <(ApplicationVersion a, ApplicationVersion b)
|
||||
{
|
||||
return a.Version < b.Version || a.Version == b.Version && (a.Channel > b.Channel || a.Channel == b.Channel && a.Build < b.Build);
|
||||
return a.Version < b.Version || a.Version == b.Version && (a.Channel > b.Channel || (a.Channel == b.Channel && a.Build < b.Build));
|
||||
}
|
||||
|
||||
public static bool operator ==(ApplicationVersion a, ApplicationVersion b)
|
||||
{
|
||||
return !(a != b);
|
||||
return a.Version == b.Version && a.Channel == b.Channel && a.Build == b.Build;
|
||||
}
|
||||
|
||||
public static bool operator !=(ApplicationVersion a, ApplicationVersion b)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<PropertyGroup>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<IncrementVersionOnBuild>1.yyyy.Mdd.Hmm</IncrementVersionOnBuild>
|
||||
<Version>1.2023.914.1123</Version>
|
||||
<Version>1.2023.1113.1335</Version>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />
|
||||
|
||||
Reference in New Issue
Block a user