Add release index download

This commit is contained in:
Michael Bucari-Tovo 2022-07-27 09:49:58 -06:00
parent bbe91099cb
commit 1f685ae8a0
3 changed files with 23 additions and 11 deletions

View file

@ -87,7 +87,7 @@ namespace LibationAvalonia.Views
AppScaffolding.UpgradeProperties upgradeProperties;
try
{
upgradeProperties = AppScaffolding.LibationScaffolding.GetLatestRelease(@"Libation\.\d+\.\d+\.\d+-win-avalonia.zip");
upgradeProperties = AppScaffolding.LibationScaffolding.GetLatestRelease(AppScaffolding.LibationScaffolding.ReleaseIdentifier.WindowsAvalonia);
if (upgradeProperties is null)
return;
@ -104,7 +104,7 @@ namespace LibationAvalonia.Views
return;
}
//Silently download the update in the background, ave it to a temp file.
//Silently download the update in the background, save it to a temp file.
var zipPath = System.IO.Path.GetTempFileName();
try