Bump framework version and small cleanup

This commit is contained in:
Alexey Golub
2018-01-26 18:13:25 +02:00
parent bb2b04d2e5
commit f7ef3bbb44
5 changed files with 9 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net45</TargetFramework>
<TargetFramework>net461</TargetFramework>
<Version>2.3</Version>
<Company>Tyrrrz</Company>
<Copyright>Copyright (c) 2017-2018 Alexey Golub</Copyright>

View File

@@ -33,7 +33,7 @@ namespace DiscordChatExporter.Cli.ViewModels
// Generate file path if not set
if (filePath.IsBlank())
{
filePath = $"{guild} - {channel}.{format.GetFileExtension()}"
filePath = $"{guild.Name} - {channel.Name}.{format.GetFileExtension()}"
.Replace(Path.GetInvalidFileNameChars(), '_');
}