Add release index download
This commit is contained in:
parent
bbe91099cb
commit
1f685ae8a0
3 changed files with 23 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue