diff --git a/ACS/ACS/MainWindow.xaml.cs b/ACS/ACS/MainWindow.xaml.cs index 654d976f8..21ccb61bc 100644 --- a/ACS/ACS/MainWindow.xaml.cs +++ b/ACS/ACS/MainWindow.xaml.cs @@ -68,7 +68,7 @@ public partial class MainWindow { #region Global variables - public const String ACS_VERSION="4.1"; + public static String ACS_VERSION="4.x"; private double mouseMoveComponentX; private double mouseMoveComponentY; @@ -265,6 +265,8 @@ public MainWindow() { //ACS.Properties.Resources.Culture = System.Threading.Thread.CurrentThread.CurrentCulture; InitializeComponent(); + //Read ACS_VERSION string from asterics.ini first. + ACS_VERSION = ini.IniReadValue("Options", "ACS_VERSION"); Title = "AsTeRICS Configuration Suite " + ACS_VERSION; // Remove the original default trace listener and add a new one (for logging exceptions) traceListener = new FileLogTraceListener(); diff --git a/ACS/ACS/asterics.ini b/ACS/ACS/asterics.ini index 34903b05f..d544ebebe 100644 --- a/ACS/ACS/asterics.ini +++ b/ACS/ACS/asterics.ini @@ -38,3 +38,4 @@ useAppDataFolder=false ACSManualURL=https://www.asterics.eu/manuals/ACS/ pluginHelpBaseURL=https://www.asterics.eu/plugins/ helpBrowserCommand=explorer +ACS_VERSION=#{APPLICATION_VERSION_NUMBER}# diff --git a/bin/ACS/ACS.exe b/bin/ACS/ACS.exe index 2a624eaf7..0a1366e77 100644 Binary files a/bin/ACS/ACS.exe and b/bin/ACS/ACS.exe differ