Change file name of downloaded update installer.

This commit is contained in:
Daniel Kraus 2015-08-20 16:45:06 +02:00
parent 0d94d77483
commit b7d413c412

View File

@ -33,5 +33,14 @@ namespace zaaReloaded2.Updater
{ {
return new Uri(Properties.Settings.Default.VersionInfoFile); return new Uri(Properties.Settings.Default.VersionInfoFile);
} }
protected override string BuildDestinationFileName()
{
return System.IO.Path.Combine(
DestinationFolder,
DownloadUri.ToString().Split('/').Last()
);
}
} }
} }