Skip to content

Commit

Permalink
Merge pull request #77 from lucor/release/v1.1.2
Browse files Browse the repository at this point in the history
Release v1.1.2
  • Loading branch information
lucor authored Oct 6, 2021
2 parents 0b3aeae + 8f06004 commit dcb9528
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 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

## 1.1.2 - 05 Oct 2021

### Fixed

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

## 1.1.1 - 29 Sep 2021

### Added
Expand Down
3 changes: 3 additions & 0 deletions docker/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ above.

Example: `fyneio/fyne-cross:1.1-base-21.03.17`

## Release 21.10.05
- Add xz-utils package to support unix packaging fyne-io/fyne#1919

## Release 21.09.29
- Update Go to v1.16.8
- Update fyne CLI to v2.1.0
Expand Down
2 changes: 2 additions & 0 deletions docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN apt-get update -qq \
gosu \
zip \
unzip \
# Switch from gz to xz compression for unix packages fyne-io/fyne#1919
xz-utils \
# fyne deps
libgl1-mesa-dev \
libegl1-mesa-dev \
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
2 changes: 1 addition & 1 deletion internal/command/freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (cmd *FreeBSD) Run() error {
//
log.Info("[i] Packaging app...")

packageName := fmt.Sprintf("%s.tar.gz", ctx.Name)
packageName := fmt.Sprintf("%s.tar.xz", ctx.Name)

err = prepareIcon(ctx)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/command/linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (cmd *Linux) Run() error {
//
log.Info("[i] Packaging app...")

packageName := fmt.Sprintf("%s.tar.gz", ctx.Name)
packageName := fmt.Sprintf("%s.tar.xz", ctx.Name)

err = prepareIcon(ctx)
if err != nil {
Expand Down

0 comments on commit dcb9528

Please sign in to comment.