case 3649

This commit is contained in:
2018-08-22 23:11:19 +00:00
parent 610964d4b3
commit c0fa396b65
8 changed files with 29 additions and 18 deletions

View File

@@ -3637,8 +3637,8 @@ namespace AyaNova
break;
case "QuickStart": // case 1306
Util.OpenWebURL(Util.BaseHelpUrl + "QuickStart_for_Beginners.htm");
//case 3649
Util.OpenWebURL(Util.BaseHelpUrl + "index.html?quickstart_for_beginners.htm");
break;
@@ -3661,15 +3661,21 @@ namespace AyaNova
System.Diagnostics.FileVersionInfo fileVersion = System.Diagnostics.FileVersionInfo.GetVersionInfo(a.Location);
string surl = CheckForUpdate.UpdateUrl((AyaBizUtils.Lite ? "AyaNovaLite" : "AyaNovaFull"), fileVersion.FileVersion);
if (!string.IsNullOrEmpty(surl))
if (!surl.StartsWith("http:"))
{
//case 3649
if (surl.StartsWith("http:"))
surl = surl.Replace("http:", "https:");
if (!surl.StartsWith("https:"))
Util.Error("CheckForUpdate failed", surl);
else
Util.OpenWebURL(surl);
}
else
MessageBox.Show("Up to date!");
//Util.OpenWebURL("http://www.ayanova.com/download.htm");
break;
case "LT:UI.Help.PurchaseLicenses": // StateButtonTool