-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 (decompress): Expand-7zipArchive
only delete temp dir / $extractDir
if it is empty
#6092
Conversation
If tests should be updated (tell me): Should be sufficient to add a
Then check that |
Could you please sign your commit? And the logic should be tweaked by only check if |
For commit signing, you could ref https://docs.github.com/authentication/managing-commit-signature-verification |
Hmm, you should try to pass the tests now :) |
I think I've fixed the test errors now @niheaven: Can't do |
Expand-7zipArchive
Only delete temp dir / $extractDir
if it is empty
Expand-7zipArchive
Only delete temp dir / $extractDir
if it is emptyExpand-7zipArchive
only delete temp dir / $extractDir
if it is empty
Description
decompress.ps1
deletes$extractDir
even if it's not empty, which can cause applications to not work after installation.More context and how I got to this solution in following comment:
Motivation and Context
Closes #6011, ScoopInstaller/Extras#13324
How Has This Been
Tested locally with
scoop install extras/tor-browser
.Checklist:
develop
branch.