Skip to content

Commit 0f23972

Browse files
authored
Fix linux appimage task (#4644)
* Fixes #4642 * Fix Linux appimage appicon variable in Linux taskfile
1 parent ca594c5 commit 0f23972

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

v3/UNRELEASED_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ After processing, the content will be moved to the main changelog and this file
2323

2424
## Fixed
2525
<!-- Bug fixes -->
26+
- Fix Linux appimage appicon variable in Linux taskfile [PR #4644](https://github.com/wailsapp/wails/pull/4644)
2627

2728
## Deprecated
2829
<!-- Soon-to-be removed features -->

v3/internal/commands/build_assets/linux/Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ tasks:
4747
- task: generate:dotdesktop
4848
cmds:
4949
- cp {{.APP_BINARY}} {{.APP_NAME}}
50-
- cp ../../appicon.png appicon.png
50+
- cp ../../appicon.png {{.APP_NAME}}.png
5151
- wails3 generate appimage -binary {{.APP_NAME}} -icon {{.ICON}} -desktopfile {{.DESKTOP_FILE}} -outputdir {{.OUTPUT_DIR}} -builddir {{.ROOT_DIR}}/build/linux/appimage/build
5252
vars:
5353
APP_NAME: '{{.APP_NAME}}'
5454
APP_BINARY: '../../../bin/{{.APP_NAME}}'
55-
ICON: '../../appicon.png'
55+
ICON: '{{.APP_NAME}}.png'
5656
DESKTOP_FILE: '../{{.APP_NAME}}.desktop'
5757
OUTPUT_DIR: '../../../bin'
5858

0 commit comments

Comments
 (0)