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

Fix Windows reinstall/uninstall issue #199

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

asgrim
Copy link
Collaborator

@asgrim asgrim commented Mar 6, 2025

Fixes #190

@asgrim asgrim added the bug Something isn't working label Mar 6, 2025
@asgrim asgrim added this to the 0.8.0 milestone Mar 6, 2025
@asgrim asgrim self-assigned this Mar 6, 2025
* delete the extension. However, Windows lets us move it out the way,
* so move it to the temp directory. It can then be cleaned up later.
*/
public static function usingMoveToTemp(string $filename): void
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: not ideal, as it leaves a dangling temp file, but not sure a way around the lock on the file. Any suggestions to improve this are welcomed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reinstalling or Uninstalling Windows extensions fails
1 participant