From 20feb293f5fa2dc46c4e52212ec9e17e6db669a0 Mon Sep 17 00:00:00 2001 From: Mike Maietta Date: Thu, 18 Jul 2024 10:53:40 -0700 Subject: [PATCH] fix: use correct compression args as mksquashfs (#123) --- .changeset/serious-lizards-invite.md | 5 +++++ pkg/package-format/appimage/appImage.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/serious-lizards-invite.md diff --git a/.changeset/serious-lizards-invite.md b/.changeset/serious-lizards-invite.md new file mode 100644 index 0000000..4fb3b11 --- /dev/null +++ b/.changeset/serious-lizards-invite.md @@ -0,0 +1,5 @@ +--- +"app-builder-bin": patch +--- + +fix current mksquashfs version only allows xz and gzip compressions diff --git a/pkg/package-format/appimage/appImage.go b/pkg/package-format/appimage/appImage.go index 53d300b..1c5a56d 100644 --- a/pkg/package-format/appimage/appImage.go +++ b/pkg/package-format/appimage/appImage.go @@ -43,7 +43,7 @@ func ConfigureCommand(app *kingpin.Application) { template: command.Flag("template", "The template file.").String(), license: command.Flag("license", "The license file.").String(), - compression: command.Flag("compression", "The compression.").Default("zstd").Enum("xz", "lzo", "zstd"), + compression: command.Flag("compression", "The compression.").Default("gzip").Enum("xz", "gzip"), } configuration := command.Flag("configuration", "").Required().String()