Skip to content

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

Merged
leaanthony merged 5 commits into
wailsapp:masterfrom
OlegGulevskyy:stop-build-dir-clone
Nov 18, 2022
Merged

leaanthony merged 5 commits into
wailsapp:masterfrom
OlegGulevskyy:stop-build-dir-clone

Conversation

@OlegGulevskyy

Copy link
Copy Markdown
Contributor

Following discussion in #2100 - this PR removes assignment to path where executable is stored (/build/bin). This was adding /build/bin to the executable name on each save in dev mode, which results in /build/bin/build/bin... duplicated nested path.

Have tested on MacOS only, can test on Windows 11 a bit later to make sure no regression

@stffabi

stffabi commented Nov 18, 2022 •

Copy link
Copy Markdown
Contributor

LGTM, would it be possible for you to also add your changes to the "unreleased" changelog here website/src/pages/changelog.mdx? That would be awesome 🙏

@OlegGulevskyy

Copy link
Copy Markdown
Contributor Author

Of course, done!
Will keep in mind changelogs from now on :)

@leaanthony

Copy link
Copy Markdown
Member

Yeah, that's how we're tracking changes because GitHub's commit message bundle isn't good enough 😀

@OlegGulevskyy

Copy link
Copy Markdown
Contributor Author

Not exactly sure when I can test this on Windows as I wanted, my windows machine having some troubles.. :
So if anyone has a Windows and could give this a spin, that'd be awesome!

@leaanthony

Copy link
Copy Markdown
Member

I tested on Windows 11:

  • Generate new project
  • wails dev, then close
  • wails dev, then close
  • Checked FS, all good
  • wails build - all good

Thanks heaps @OlegGulevskyy 🙏

@leaanthony
leaanthony merged commit b3d7682 into wailsapp:master Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants