mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Allow setting the compression method in the environment variable (popular
request from our users).
This commit is contained in:
parent
288dac5d70
commit
bdd90f2c57
|
@ -1106,6 +1106,13 @@ static const struct mfx_option longopts[] =
|
||||||
// compression settings
|
// compression settings
|
||||||
{"exact", 0x10, 0, 525}, // user requires byte-identical decompression
|
{"exact", 0x10, 0, 525}, // user requires byte-identical decompression
|
||||||
|
|
||||||
|
// compression method
|
||||||
|
{"nrv2b", 0x10, 0, 702}, // --nrv2b
|
||||||
|
{"nrv2d", 0x10, 0, 704}, // --nrv2d
|
||||||
|
{"nrv2e", 0x10, 0, 705}, // --nrv2e
|
||||||
|
{"lzma", 0x10, 0, 721}, // --lzma
|
||||||
|
{"no-lzma", 0x10, 0, 722}, // (disable all_methods_use_lzma)
|
||||||
|
// compression settings
|
||||||
// compression runtime parameters
|
// compression runtime parameters
|
||||||
|
|
||||||
// win32/pe
|
// win32/pe
|
||||||
|
|
Loading…
Reference in New Issue
Block a user