From b7d413c412bfc8326519bc925214651c8d3e3cc4 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Thu, 20 Aug 2015 16:45:06 +0200 Subject: [PATCH] Change file name of downloaded update installer. --- zaaReloaded2/Updater/Updater.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zaaReloaded2/Updater/Updater.cs b/zaaReloaded2/Updater/Updater.cs index da7c822..fcb4cab 100755 --- a/zaaReloaded2/Updater/Updater.cs +++ b/zaaReloaded2/Updater/Updater.cs @@ -33,5 +33,14 @@ namespace zaaReloaded2.Updater { return new Uri(Properties.Settings.Default.VersionInfoFile); } + + protected override string BuildDestinationFileName() + { + return System.IO.Path.Combine( + DestinationFolder, + DownloadUri.ToString().Split('/').Last() + ); + } + } }