mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-08 14:40:12 +00:00
Bump framework version and small cleanup
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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(), '_');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user