Skip to content

Commit

Permalink
added LZMA2 compression method for 7Zip wrapper
Browse files Browse the repository at this point in the history
- as reported by #216
  • Loading branch information
Arnaud Bouchez committed Aug 27, 2023
1 parent 14c009c commit 5607672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/lib/mormot.lib.win7zip.pas
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ E7Zip = class(ESynException)
T7zCompressionMethod = (
m7Copy,
m7Lzma,
mzLzma2,
m7BZip2,
m7Ppmd,
m7Deflate,
Expand Down Expand Up @@ -2845,7 +2846,7 @@ function T7zWriter.GetAttributes(index: integer): cardinal;
ZipEncryptionMethod: array[TZipEncryptionMethod] of WideString = (
'AES128', 'AES192', 'AES256', 'ZIPCRYPTO');
SevCompressionMethod: array[T7zCompressionMethod] of WideString = (
'COPY', 'LZMA', 'BZIP2', 'PPMD', 'DEFLATE', 'DEFLATE64');
'COPY', 'LZMA', 'LZMA2', 'BZIP2', 'PPMD', 'DEFLATE', 'DEFLATE64');
BooleanMethod: array[boolean] of WideString = (
'OFF', 'ON');

Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.1.5798'
'2.1.5799'

0 comments on commit 5607672

Please sign in to comment.