Skip to content

Commit

Permalink
Unsupported target operating system "linux/amd64"
Browse files Browse the repository at this point in the history
Fixes #74
  • Loading branch information
lucor committed Oct 5, 2021
1 parent 9792b2e commit 9b7f52a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog - Fyne.io fyne-cross

## Unreleased

### Fixed

- Unsupported target operating system "linux/amd64" #74

## 1.1.1 - 29 Sep 2021

### Added
Expand Down
9 changes: 7 additions & 2 deletions internal/command/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func fynePackage(ctx Context) error {
}

target := ctx.OS
if ctx.Architecture != ArchMultiple {
if ctx.OS == androidOS && ctx.Architecture != ArchMultiple {
target += "/" + ctx.Architecture.String()
}

Expand Down Expand Up @@ -253,9 +253,14 @@ func fyneRelease(ctx Context) error {
}
}

target := ctx.OS
if ctx.OS == androidOS && ctx.Architecture != ArchMultiple {
target += "/" + ctx.Architecture.String()
}

args := []string{
fyneBin, "release",
"-os", ctx.OS,
"-os", target,
"-name", ctx.Name,
"-icon", volume.JoinPathContainer(ctx.TmpDirContainer(), ctx.ID, icon.Default),
"-appBuild", ctx.AppBuild,
Expand Down

0 comments on commit 9b7f52a

Please sign in to comment.