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

feat(decompress): Support 'INNOSETUP_USE_INNOEXTRACT' config and -UseInnoextract switch #96

Merged
merged 23 commits into from
Feb 28, 2021
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
trim \,/ from $DestinationPath
  • Loading branch information
Ash258 committed Feb 27, 2021
commit 48cb5db85333e8fb7c15e0086f77ed539b3ef832
1 change: 1 addition & 0 deletions lib/decompress.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ function Expand-InnoArchive {
)

process {
$DestinationPath = $DestinationPath.TrimEnd('\').TrimEnd('/')
$isInnoextract = (get_config 'INNOSETUP_USE_INNOEXTRACT' $false) -or $UseInnoextract
if ($isInnoextract) {
Write-UserMessage -Message 'Using innoextract is experimental' -Warning
Expand Down