Skip to content

feature(decompress): Add 'ExtractDir' to 'Expand-...' functions#3466

Merged
r15ch13 merged 2 commits intoScoopInstaller:developfrom
niheaven:feat-decompress
May 16, 2019
Merged

feature(decompress): Add 'ExtractDir' to 'Expand-...' functions#3466
r15ch13 merged 2 commits intoScoopInstaller:developfrom
niheaven:feat-decompress

Conversation

@niheaven
Copy link
Copy Markdown
Member

Move $extract_dir and $extract_to to decompress.ps1 so as to not run robocopy so many times.

Tested on

  • 'slack'(w/ extract_dir, 7z/nupkg)
  • 'brackets'(w/ extract_dir, msiexec/lessmsi)
  • 'atom-portable'(w/ extract_dir and extract_to)
  • 'irfanview'(w/ multi extract_to)
  • 'unxutils'(w/ extract_to overwrite)

Comment thread lib/decompress.ps1
@Ash258
Copy link
Copy Markdown
Contributor

Ash258 commented May 16, 2019

LGTM by fast static review. Will test in few hours.

@niheaven
Copy link
Copy Markdown
Member Author

Tested 'TrimEnd', msiexec and lessmsi need to trim \, others needn't.

Also fix nested 7z extraction.

All done.

Comment thread lib/decompress.ps1
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