Skip to content

Commit

Permalink
Release 3.4.1:
Browse files Browse the repository at this point in the history
FIX: wrong version string for ETS 6.1
  • Loading branch information
Waldemar Porscha committed Dec 14, 2024
1 parent e4eb240 commit 4f9ae99
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

[assembly: System.Reflection.AssemblyCompanyAttribute("OpenKNX")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.4.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("3.4.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.4.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("3.4.1")]
[assembly: System.Reflection.AssemblyProductAttribute("OpenKNXproducer")]
[assembly: System.Reflection.AssemblyTitleAttribute("OpenKNXproducer")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.4.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.4.1.0")]
2 changes: 1 addition & 1 deletion Signing/ApplicationSigner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ApplicationProgramHasher(
Assembly objm = Assembly.LoadFrom(Path.Combine(basePath, "Knx.Ets.Xml.ObjectModel.dll"));
object knxSchemaVersion = Enum.ToObject(objm.GetType("Knx.Ets.Xml.ObjectModel.KnxXmlSchemaVersion"), nsVersion);
_type = asm.GetType("Knx.Ets.XmlSigning.Signer.ApplicationProgramHasher");
if (lVersion < new System.Version("6.1.0)"))
if (lVersion < new System.Version("6.1.0"))
_type = asm.GetType("Knx.Ets.XmlSigning.ApplicationProgramHasher");
_instance = Activator.CreateInstance(_type, applProgFile, mapBaggageIdToFileIntegrity, patchIds, knxSchemaVersion);
} else { //für ETS5 und früher
Expand Down
2 changes: 1 addition & 1 deletion Signing/CatalogIdPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public CatalogIdPatcher(
Assembly objm = Assembly.LoadFrom(Path.Combine(basePath, "Knx.Ets.Xml.ObjectModel.dll"));
object knxSchemaVersion = Enum.ToObject(objm.GetType("Knx.Ets.Xml.ObjectModel.KnxXmlSchemaVersion"), nsVersion);
_type = asm.GetType("Knx.Ets.XmlSigning.Signer.CatalogIdPatcher");
if (lVersion < new System.Version("6.1.0)"))
if (lVersion < new System.Version("6.1.0"))
_type = asm.GetType("Knx.Ets.XmlSigning.CatalogIdPatcher");
_instance = Activator.CreateInstance(_type, catalogFile, hardware2ProgramIdMapping, knxSchemaVersion);
} else {
Expand Down
2 changes: 1 addition & 1 deletion Signing/HardwareSigner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public HardwareSigner(
// registrationKey= Knx.Ets.Xml.ObjectModel.RegistrationKey.knxconv (is an enum)
object knxSchemaVersion = Enum.ToObject(objm.GetType("Knx.Ets.Xml.ObjectModel.KnxXmlSchemaVersion"), nsVersion);
_type = asm.GetType("Knx.Ets.XmlSigning.Signer.HardwareSigner");
if (lVersion < new System.Version("6.1.0)"))
if (lVersion < new System.Version("6.1.0"))
_type = asm.GetType("Knx.Ets.XmlSigning.HardwareSigner");
_instance = Activator.CreateInstance(_type, hardwareFile, applProgIdMappings, applProgHashes, patchIds, registrationKey, knxSchemaVersion);
} else {
Expand Down

0 comments on commit 4f9ae99

Please sign in to comment.