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
@ -23,6 +23,11 @@ public class MegaMirrorDownloader : MirrorDownloaderBase
|
|||||||
{
|
{
|
||||||
var file = new FileInfo(Path.Join(DownloadCacheHelper.CachePath, "patcher"));
|
var file = new FileInfo(Path.Join(DownloadCacheHelper.CachePath, "patcher"));
|
||||||
|
|
||||||
|
if (file.Exists)
|
||||||
|
{
|
||||||
|
file.Delete();
|
||||||
|
}
|
||||||
|
|
||||||
await megaClient.DownloadFileAsync(new Uri(MirrorInfo.Link),
|
await megaClient.DownloadFileAsync(new Uri(MirrorInfo.Link),
|
||||||
file.FullName, progress);
|
file.FullName, progress);
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
<PackageIcon>icon.ico</PackageIcon>
|
<PackageIcon>icon.ico</PackageIcon>
|
||||||
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
||||||
<Configurations>Debug;Release;TEST</Configurations>
|
<Configurations>Debug;Release;TEST</Configurations>
|
||||||
<AssemblyVersion>2.44</AssemblyVersion>
|
<AssemblyVersion>2.45</AssemblyVersion>
|
||||||
<FileVersion>2.44</FileVersion>
|
<FileVersion>2.45</FileVersion>
|
||||||
<Company>SPT-AKI</Company>
|
<Company>SPT-AKI</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user