Skip to content

Commit

Permalink
fix(appimage): remove default and fix compression enums (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta authored Jul 18, 2024
1 parent 7adca19 commit 52ad062
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/strange-parrots-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: set correct compression enums and remove default
4 changes: 2 additions & 2 deletions pkg/package-format/appimage/appImage.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/develar/app-builder/pkg/linuxTools"
"github.com/develar/app-builder/pkg/util"
"github.com/develar/errors"
"github.com/develar/go-fs-util"
fsutil "github.com/develar/go-fs-util"
)

type AppImageOptions struct {
Expand Down Expand Up @@ -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("gzip").Enum("xz", "gzip"),
compression: command.Flag("compression", "The compression.").Enum("xz", "lzo", "zstd"),
}

configuration := command.Flag("configuration", "").Required().String()
Expand Down

0 comments on commit 52ad062

Please sign in to comment.