fix: GetHeliconApeVersion for old version of Ape
This commit is contained in:
parent
043be0cccf
commit
c5fa9db2cb
1 changed files with 13 additions and 0 deletions
|
@ -2037,6 +2037,19 @@ namespace WebsitePanel.Providers.Web
|
|||
return System.Diagnostics.FileVersionInfo.GetVersionInfo(apeModulePath).FileVersion;
|
||||
}
|
||||
|
||||
apeModulePath = Path.Combine(installDir, "ManualInstall\\bin\\Helicon.Ape.dll");
|
||||
if (File.Exists(apeModulePath))
|
||||
{
|
||||
return System.Diagnostics.FileVersionInfo.GetVersionInfo(apeModulePath).FileVersion;
|
||||
}
|
||||
|
||||
apeModulePath = Path.Combine(installDir, "Helicon.Ape.dll");
|
||||
if (File.Exists(apeModulePath))
|
||||
{
|
||||
return System.Diagnostics.FileVersionInfo.GetVersionInfo(apeModulePath).FileVersion;
|
||||
}
|
||||
|
||||
|
||||
return HELICON_APE_NOT_REGISTERED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue