diff --git a/DiscordChatExporter.Domain/Internal/PathEx.cs b/DiscordChatExporter.Domain/Internal/PathEx.cs index d89c78a..309c3c9 100644 --- a/DiscordChatExporter.Domain/Internal/PathEx.cs +++ b/DiscordChatExporter.Domain/Internal/PathEx.cs @@ -15,7 +15,7 @@ namespace DiscordChatExporter.Domain.Internal public static string EscapePath(string path) => EscapePath(new StringBuilder(path)).ToString(); - public static string MakeUniqueFilePath(string baseFilePath, int maxAttempts = 100) + public static string MakeUniqueFilePath(string baseFilePath, int maxAttempts = int.MaxValue) { if (!File.Exists(baseFilePath)) return baseFilePath;