diff --git a/v3/UNRELEASED_CHANGELOG.md b/v3/UNRELEASED_CHANGELOG.md index 8e4648038..4fa06b500 100644 --- a/v3/UNRELEASED_CHANGELOG.md +++ b/v3/UNRELEASED_CHANGELOG.md @@ -23,6 +23,7 @@ After processing, the content will be moved to the main changelog and this file ## Fixed +- Fix Linux appimage appicon variable in Linux taskfile [PR #4644](https://github.com/wailsapp/wails/pull/4644) ## Deprecated diff --git a/v3/internal/commands/build_assets/linux/Taskfile.yml b/v3/internal/commands/build_assets/linux/Taskfile.yml index 87fd599cc..7ddf9f359 100644 --- a/v3/internal/commands/build_assets/linux/Taskfile.yml +++ b/v3/internal/commands/build_assets/linux/Taskfile.yml @@ -47,12 +47,12 @@ tasks: - task: generate:dotdesktop cmds: - cp {{.APP_BINARY}} {{.APP_NAME}} - - cp ../../appicon.png appicon.png + - cp ../../appicon.png {{.APP_NAME}}.png - wails3 generate appimage -binary {{.APP_NAME}} -icon {{.ICON}} -desktopfile {{.DESKTOP_FILE}} -outputdir {{.OUTPUT_DIR}} -builddir {{.ROOT_DIR}}/build/linux/appimage/build vars: APP_NAME: '{{.APP_NAME}}' APP_BINARY: '../../../bin/{{.APP_NAME}}' - ICON: '../../appicon.png' + ICON: '{{.APP_NAME}}.png' DESKTOP_FILE: '../{{.APP_NAME}}.desktop' OUTPUT_DIR: '../../../bin'