1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed version check

This commit is contained in:
Brian Fiete 2020-05-31 09:17:21 -07:00
parent 511e88de29
commit 8bdfb8e93e

View file

@ -10558,7 +10558,7 @@ namespace IDE
mVersionInfo = new .();
mVersionInfo.GetVersionInfo(exeFilePath).IgnoreError();
if (!String.IsNullOrEmpty(mVersionInfo.FileVersion))
Debug.Assert(mVersionInfo.FileVersion == cVersion);
Debug.Assert(mVersionInfo.FileVersion.StartsWith(cVersion));
#if BF_PLATFORM_WINDOWS
exeTime = File.GetLastWriteTime(exeFilePath).GetValueOrDefault();
#endif