Fix upd messages

This commit is contained in:
Samuele Locatelli
2021-07-20 08:11:53 +02:00
parent 26234bce04
commit 47b85f98b3
+4 -3
View File
@@ -87,7 +87,8 @@ namespace NKC_WF.site
doDownload(caller, riga);
// calcolo elapsed time come TimeSpan value.
TimeSpan ts = stopWatch.Elapsed;
resultsMsg = $"OK: {caller} downloaded, {ts.TotalSeconds:0.000} sec | {updateUrl(caller)} --> {localDownloadPath(caller)}";
string updUrl = riga.IsAuth ? updateUrlAuth(riga.AppName) : updateUrl(riga.AppName);
resultsMsg = $"OK: {caller} downloaded, {ts.TotalSeconds:0.000} sec | {updUrl} --> {localDownloadPath(riga.PackName)}";
}
}
// aggiorno messaggio
@@ -127,7 +128,7 @@ namespace NKC_WF.site
else
{
UpdateMan.obj.downloadLatest(updateUrl(caller), localDownloadPath(caller), caller);
numDone++;
numDone++;
}
}
return numDone;
@@ -165,7 +166,7 @@ namespace NKC_WF.site
protected UpdateMan updManAuth = new UpdateMan("SWDownloader", "viaD@nte16");
/// <summary>
/// URLK stringa di UPDATE...
/// URL stringa di UPDATE...
/// </summary>
protected string updateUrl(string package)
{