Skip to content

Commit

Permalink
appstreamcli --no-net (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Apr 29, 2024
1 parent 426deee commit 6866993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func ValidateDesktopFile(desktopfile string) error {
// Returns error if validation fails and prints any errors to stderr
func ValidateAppStreamMetainfoFile(appdirpath string) error {
// Validate_desktop_file
cmd := exec.Command("appstreamcli", "validate-tree", appdirpath)
cmd := exec.Command("appstreamcli", "validate-tree", appdirpath, "--no-net")
out, err := cmd.CombinedOutput()
if err != nil {
PrintError("appstreamcli", err)
Expand Down

0 comments on commit 6866993

Please sign in to comment.