BeremizIDE.py
changeset 3906 f831ff63ca6e
parent 3833 73a44957c381
child 3909 c29a95aebfbf
--- a/BeremizIDE.py	Fri Feb 23 11:54:51 2024 +0100
+++ b/BeremizIDE.py	Tue Feb 27 12:11:24 2024 +0100
@@ -45,7 +45,7 @@
 from editors.TextViewer import TextViewer
 from editors.ResourceEditor import ConfigurationEditor, ResourceEditor
 from editors.DataTypeEditor import DataTypeEditor
-from util.paths import Bpath
+from util.paths import Bpath, ThirdPartyPath
 from util.MiniTextControler import MiniTextControler
 from util.BitmapLibrary import GetBitmap
 from controls.LogViewer import LogViewer
@@ -980,6 +980,10 @@
         info = wx.adv.AboutDialogInfo()
         info = version.GetAboutDialogInfo(info)
         info.Name = "Beremiz"
+        with open(ThirdPartyPath("revisions.txt")) as f:
+            revisions=f.read()
+            info.SetVersion(info.GetVersion(), longVersion=revisions)
+
         info.Description = _("Open Source framework for automation, "
             "implementing IEC 61131 IDE with constantly growing set of extensions "
             "and flexible PLC runtime.")