This commit is contained in:
2022-06-22 19:23:51 +00:00
parent 9198e2a3ea
commit a06c204036
2 changed files with 12 additions and 2 deletions

View File

@@ -493,7 +493,17 @@ namespace AyaNovaQBI
}
//check if build date is within licensed date (how did I do that automated build date thing?)
//check if build date is within maintenance and updates expiry date
if(ALicense.maintenanceExpiration < Timestamp.BuildAt)
{
initErrors.AppendLine("NOT LICENSED!\r\n\r\nThis QBI plugin was built " +
Timestamp.BuildAt.ToString("g") + "\r\n" +
"but the licensed support and updates subscription has ended on " +
ALicense.maintenanceExpiration.ToLocalTime().ToString("g") + "\r\n" +
"\r\nDowngrade back to your previous licensed QBI version or\r\npurchase a support and updates subscription to continue using this version of QBI.");
return false;
}
// copy timestamp.cs and the createtimestamp.exe utility from v7 qbi and create build event to run it here and do same thing
//check that AyaNova version matches required minimum for this QBI (