diff --git a/src/BUTR.CrashReport/Utils/Anonymizer.cs b/src/BUTR.CrashReport/Utils/Anonymizer.cs index 53680b2..5fd0bc9 100644 --- a/src/BUTR.CrashReport/Utils/Anonymizer.cs +++ b/src/BUTR.CrashReport/Utils/Anonymizer.cs @@ -28,6 +28,9 @@ public static string AnonymizePath(string path) if (entries.FirstOrDefault(x => x.Substring.Equals("steamapps", StringComparison.OrdinalIgnoreCase)) is { } entrySteamapps) return path.Substring(entrySteamapps.Index); + if (entries.FirstOrDefault(x => x.Substring.Equals(".local", StringComparison.OrdinalIgnoreCase)) is { } entryLocal) + return path.Substring(entryLocal.Index); + if (normalizedPath.StartsWith(Windows, StringComparison.OrdinalIgnoreCase)) return Path.Combine("Windows", normalizedPath.Substring(Windows.Length + 1));