mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
limit valid compression options to those supported by appimagekit runtime
This commit is contained in:
@@ -22,6 +22,6 @@ public class LinuxPackCommand : PackCommand
|
||||
.SetDescription("Set the compression algorithm to use for the AppImage")
|
||||
.SetDefault(AppImageTool.DefaultCompressionAlgorithm)
|
||||
.SetArgumentHelpName("ALGO")
|
||||
.MustBeOneOfStringValues(["gzip", "lzo", "lzma", "xz", "lz4", "zstd"]);
|
||||
.MustBeOneOfStringValues(["gzip", "xz"]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user