Skip to content

Commit

Permalink
build(go): 🐛 fix fyne-cross command-line
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed May 26, 2024
1 parent d8e13fc commit b9a7585
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build/magefiles/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,13 @@ func (Package) FyneCross(arch string) error {
return errors.New("unable to install nfpm")
}

if err := fyneCrossCmd("-arch=", arch); err != nil {
if err := fyneCrossCmd("-arch", arch); err != nil {
return err
}
if err := sh.Copy(
return sh.Copy(
"fyne-cross/dist/linux-"+arch+"/go-hass-agent-"+arch+".tar.xz",
"fyne-cross/dist/linux-"+arch+"/go-hass-agent.tar.xz",
); err != nil {
return err
}
return nil
)
}

// CI builds all packages as part of the CI pipeline.
Expand Down

0 comments on commit b9a7585

Please sign in to comment.