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:
commit
8ec0353500
@ -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);
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user