Merge pull request 'fix/mega-downloader' (#62) from waffle.lord/SPT-AKI-Installer:fix/mega-downloader into master

Reviewed-on: CWX/SPT-AKI-Installer#62
This commit is contained in:
IsWaffle 2024-03-24 13:21:09 +00:00
commit 8ec0353500
2 changed files with 7 additions and 2 deletions

View File

@ -22,6 +22,11 @@ public class MegaMirrorDownloader : MirrorDownloaderBase
try
{
var file = new FileInfo(Path.Join(DownloadCacheHelper.CachePath, "patcher"));
if (file.Exists)
{
file.Delete();
}
await megaClient.DownloadFileAsync(new Uri(MirrorInfo.Link),
file.FullName, progress);

View File

@ -9,8 +9,8 @@
<PackageIcon>icon.ico</PackageIcon>
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
<Configurations>Debug;Release;TEST</Configurations>
<AssemblyVersion>2.44</AssemblyVersion>
<FileVersion>2.44</FileVersion>
<AssemblyVersion>2.45</AssemblyVersion>
<FileVersion>2.45</FileVersion>
<Company>SPT-AKI</Company>
</PropertyGroup>