Skip to content

Patch(decompress): Allow other args to be passthrough#3411

Merged
r15ch13 merged 1 commit intoScoopInstaller:developfrom
niheaven:patch-decompress
Apr 29, 2019
Merged

Patch(decompress): Allow other args to be passthrough#3411
r15ch13 merged 1 commit intoScoopInstaller:developfrom
niheaven:patch-decompress

Conversation

@niheaven
Copy link
Copy Markdown
Member

@niheaven niheaven commented Apr 29, 2019

ref: ScoopInstaller/Extras#2021 (comment), #3204 (comment)

  • Add new param Overwrite to Expand-7ZipArchive, with following values
    • "All": 7z param -aoa, overwrite All existing files without prompt, behave the same with default
    • "Skip": 7z param -aos, Skip extracting of existing files
    • "Rename": 7z param -aou, aUto rename extracting file
  • Add new param Switches to Expand-7ZipArchive and Expand-InnoArchive
    • It could pass all unrecognized params to 7z and innounp
  • Patch extract_7zip and unpack_inno to adapt to Expand-XXX

Usage: ScoopInstaller/Extras#2021, ScoopInstaller/Extras#2070

@r15ch13 r15ch13 merged commit 34c26aa into ScoopInstaller:develop Apr 29, 2019
@niheaven niheaven deleted the patch-decompress branch April 30, 2019 01:53
r15ch13 added a commit that referenced this pull request May 12, 2019
- The main bucket of Scoop has been separated to https://github.com/ScoopInstaller/Main
- Requires PowerShell 5 and newer #3330
- Improve and refactor decompression functions #3204 #3409 #3411
- Move scoop config from `~\.scoop` to `~\.config\scoop\config.json` #3242
- Add `scoop hold` and `scoop unhold` for excluding programs from updates #3444
- Refactored some Core functions #3314 #3416
- Small fix for starting processes on Windows 7 #3415

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
Co-authored-by: Chawye Hsu <h404bi@outlook.com>
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
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.

2 participants