Fix multiple nested build/bin folders in dev mode (#2103)

* stop circular assigning to OutputFilename

* update changelog

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Oleg Gulevskyy
2022-11-19 10:04:46 +11:00
committed by GitHub
co-authored by Lea Anthony
parent ec56f8807f
commit b3d7682efc
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -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
+2
View File
@@ -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