Improve naming of exported partition files

This commit is contained in:
Alexey Golub 2018-12-08 23:55:49 +02:00
parent fd15b62adf
commit ca727e9f23

View file

@ -69,7 +69,7 @@ namespace DiscordChatExporter.Core.Services
foreach (var partition in partitions) foreach (var partition in partitions)
{ {
// Compose new file name // Compose new file name
var partitionFilePath = $"{fileNameWithoutExt}-{partitionNumber}{fileExt}"; var partitionFilePath = $"{fileNameWithoutExt} [{partitionNumber} of {partitions.Count}]{fileExt}";
// Compose full file path // Compose full file path
if (dirPath.IsNotBlank()) if (dirPath.IsNotBlank())