From b3d7682efcf246dd29db09a4da331ae994a8404a Mon Sep 17 00:00:00 2001 From: Oleg Gulevskyy <43781031+OlegGulevskyy@users.noreply.github.com> Date: Sat, 19 Nov 2022 00:04:46 +0100 Subject: [PATCH] Fix multiple nested `build/bin` folders in `dev` mode (#2103) * stop circular assigning to OutputFilename * update changelog Co-authored-by: Lea Anthony --- v2/pkg/commands/build/base.go | 1 - website/src/pages/changelog.mdx | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/v2/pkg/commands/build/base.go b/v2/pkg/commands/build/base.go index 4dc46caf7..51f373a64 100644 --- a/v2/pkg/commands/build/base.go +++ b/v2/pkg/commands/build/base.go @@ -277,7 +277,6 @@ func (b *BaseBuilder) CompileProject(options *Options) error { commands.Add("-o") commands.Add(compiledBinary) - b.projectData.OutputFilename = strings.TrimPrefix(compiledBinary, options.ProjectData.Path) options.CompiledBinary = compiledBinary // Build the application diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx index a72f5ce4e..b62a172a6 100644 --- a/website/src/pages/changelog.mdx +++ b/website/src/pages/changelog.mdx @@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - The `noreload` flag in wails dev wasn't applied. Fixed by @stffabi in this [PR](https://github.com/wailsapp/wails/pull/2081) +- `build/bin` folder was duplicating itself on each reload in `wails dev` +mode. Fixed by @OlegGulevskyy in this [PR](https://github.com/wailsapp/wails/pull/2103) ## v2.2.0 - 2022-11-09