mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 19:55:49 +03:00
[GH-ISSUE #1] Rerunning Builds fails due to file conflict #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CSec0ps on GitHub (Feb 22, 2018).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/1
Nice work with this project! I've encountered a problem though which occurs if you rerun the build, and it's because it tries to move the executable without checking if it's already present in output/. Consequently, it hits the following exception:
Which occurs at line 44 in the moveProject() method of run.py, here:
You could automatically clear the exe everytime from output/ which would solve the problem.. but I can see some cases where you might want the user to confirm this so previous builds aren't lost.
@brentvollebregt commented on GitHub (Feb 22, 2018):
I knew of this but haven't quite had time to implement. I have two methods to fix this in my head:
Which do you feel would be most suitable?
@CSec0ps commented on GitHub (Feb 22, 2018):
I'd say the first. Personally, I tend to run a build then make a few changes, run another build etc. so I could see the latter option resulting in a directory with a significant amount of exes.
The advantage of having a GUI however is that you could implement both, or combine the current setup with one or both of those methods, and let the user decide ;-)
@brentvollebregt commented on GitHub (Feb 23, 2018):
Hopefully my latest commit
957daf66ddhas fixed this.Thank you very much for reporting this.