mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed version check
This commit is contained in:
parent
511e88de29
commit
8bdfb8e93e
1 changed files with 1 additions and 1 deletions
|
@ -10558,7 +10558,7 @@ namespace IDE
|
||||||
mVersionInfo = new .();
|
mVersionInfo = new .();
|
||||||
mVersionInfo.GetVersionInfo(exeFilePath).IgnoreError();
|
mVersionInfo.GetVersionInfo(exeFilePath).IgnoreError();
|
||||||
if (!String.IsNullOrEmpty(mVersionInfo.FileVersion))
|
if (!String.IsNullOrEmpty(mVersionInfo.FileVersion))
|
||||||
Debug.Assert(mVersionInfo.FileVersion == cVersion);
|
Debug.Assert(mVersionInfo.FileVersion.StartsWith(cVersion));
|
||||||
#if BF_PLATFORM_WINDOWS
|
#if BF_PLATFORM_WINDOWS
|
||||||
exeTime = File.GetLastWriteTime(exeFilePath).GetValueOrDefault();
|
exeTime = File.GetLastWriteTime(exeFilePath).GetValueOrDefault();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue