Skip to content

Commit

Permalink
Code Quality: Support for browsing the contents of .lzh files (#13333)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishitetsu authored Sep 5, 2023
1 parent 2a3b12c commit 52892cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.Shared/Helpers/FileExtensionHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static bool IsBrowsableZipFile(string? filePath, out string? ext)
}

// Only extensions we want to browse
ext = new[] { ".zip", ".7z", ".rar", ".tar", ".gz" }
ext = new[] { ".zip", ".7z", ".rar", ".tar", ".gz", ".lzh" }
.FirstOrDefault(x => filePath.Contains(x, StringComparison.OrdinalIgnoreCase));

return ext is not null;
Expand Down

0 comments on commit 52892cb

Please sign in to comment.