Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make old binary a hidden file on windows since it can't be easily deleted #3

Merged
merged 2 commits into from
Apr 26, 2014

Conversation

wedow
Copy link
Contributor

@wedow wedow commented Mar 5, 2014

A quick attempt to fix #1. Hiding the file seems a good enough solution compared to the hoops you have to jump through to actually delete it.

@inconshreveable
Copy link
Owner

Sorry for the slow response. This looks fine. I'd rather use the native win32 API call instead of a command-line call, but that's a bit more involved.

@wedow
Copy link
Contributor Author

wedow commented Mar 13, 2014

No worries on the response time ;)

I agree that a win32 call would be better, and it turns out it really isn't that much more complicated. However it does seem to require adding a file to contain a function stub for non-Windows systems.

@inconshreveable inconshreveable merged commit e921ea1 into inconshreveable:master Apr 26, 2014
@inconshreveable
Copy link
Owner

Better late than never =) Sorry for the long delays on getting this merged

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.

old exe not deleted on Windows
2 participants