From d15e85fb2213956b2947c56c7d4a176c9654a9d8 Mon Sep 17 00:00:00 2001 From: Anshuman Date: Mon, 2 Dec 2024 01:47:38 +0530 Subject: [PATCH 1/2] fix: Add cross-platform cleanup for .syso files during Windows build --- v3/internal/commands/build_assets/Taskfile.windows.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/v3/internal/commands/build_assets/Taskfile.windows.yml b/v3/internal/commands/build_assets/Taskfile.windows.yml index c893f1cc148..23f64fb91a6 100644 --- a/v3/internal/commands/build_assets/Taskfile.windows.yml +++ b/v3/internal/commands/build_assets/Taskfile.windows.yml @@ -13,7 +13,10 @@ tasks: - task: generate:syso cmds: - go build {{.BUILD_FLAGS}} -o {{.BIN_DIR}}/{{.APP_NAME}}.exe - - powershell Remove-item *.syso + - cmd: powershell Remove-item *.syso + platforms: [windows] + - cmd: rm -f *.syso + platforms: [linux, darwin] vars: BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -trimpath -ldflags="-w -s -H windowsgui"{{else}}-gcflags=all="-l"{{end}}' env: From c5a47a835786329acb03b4d400296e08cf59983e Mon Sep 17 00:00:00 2001 From: Anshuman Date: Mon, 2 Dec 2024 01:56:10 +0530 Subject: [PATCH 2/2] Updated changelog --- mkdocs-website/docs/en/changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs-website/docs/en/changelog.md b/mkdocs-website/docs/en/changelog.md index 166f4a09a68..55106f4014a 100644 --- a/mkdocs-website/docs/en/changelog.md +++ b/mkdocs-website/docs/en/changelog.md @@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Consolidated dev config into `config.yml` by [leaanthony](https://github.com/leaanthony) ### Fixed +- Fixed cross-platform cleanup for .syso files during Windows build by [ansxuman](https://github.com/ansxuman) in [#3924](https://github.com/wailsapp/wails/pull/3924) - Fixed amd64 appimage compile by @atterpac in [#3898](https://github.com/wailsapp/wails/pull/3898) - Fixed build assets update by @ansxuman in [#3901](https://github.com/wailsapp/wails/pull/3901) - Fixed Linux systray `OnClick` and `OnRightClick` implementation by @atterpac in [#3886](https://github.com/wailsapp/wails/pull/3886)