Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Jan 31, 2016
1 parent c38b804 commit 65d113a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,9 @@ Function global:prepforconvert (
Process {
Update-Window ESD_ToolKit Icon "$(Get-ScriptDirectory)\icon.ico"
if ($CryptoKey -ne $null) {
$result = (decrypt-ESDs -Backup $false -ESD $esdfiles -RSAKey $CryptoKey)
$result = (decrypt-ESDs -Backup $true -ESD $esdfiles -RSAKey $CryptoKey)
} else {
$result = (decrypt-ESDs -Backup $false -ESD $esdfiles)
$result = (decrypt-ESDs -Backup $true -ESD $esdfiles)
}
[array]$esdinfos = @()
if ($result -is [system.array]) {
Expand Down

0 comments on commit 65d113a

Please sign in to comment.