Skip to content

Commit

Permalink
types: algorithm: disable lzbitmap & brotli compression
Browse files Browse the repository at this point in the history
they require a newer version of libcompression, will  check libcompression version & enable support if available in a later update
  • Loading branch information
m1stadev committed Dec 29, 2023
1 parent a89a4c6 commit d3d7eea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions apple_compress/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@
flag_value='LZFSE',
help='LZFSE compress the data.',
)
@click.option(
'--brotli',
'compression_type',
flag_value='BROTLI',
help='Brotli compress the data.',
)
@click.option(
'--zlib',
'compression_type',
Expand Down
5 changes: 3 additions & 2 deletions apple_compress/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ class Algorithm(Enum):
LZ4_RAW = 0x101
ZLIB = 0x205
LZMA = 0x306
LZBITMAP = 0x702
LZFSE = 0x801
LZFSE_IBOOT = 0x891
BROTLI = 0xB02
# These are only supported on newer libcompression versions, disabled for now.
# LZBITMAP = 0x702
# BROTLI = 0xB02

0 comments on commit d3d7eea

Please sign in to comment.