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

Commit 40cb5ca

Browse files
committed
Bug fix for iso label
1 parent 7dd0e2f commit 40cb5ca

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

bin/ESDDecrypter.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ start-transcript -path ".\logs\ESDDecrypter_$(get-date -format yyMMdd-HHmm).log"
2626
Write-Host '
2727
Based on the script by abbodi1406
2828
ESD Toolkit - November Tech Preview 2015 - Copyright 2015 (c) gus33000 - Version 3.0
29-
For testing purposes only. Build 3.0.10120.0.th2_release_multi(gus33000).151111-1116
29+
For testing purposes only. Build 3.0.10120.0.th2_release_multi(gus33000).151111-1134
3030
'
3131

3232
Write-Host 'Loading utilities module...'
@@ -588,6 +588,14 @@ function Get-InfosFromESD(
588588

589589
$tag = 'ir3'
590590

591+
if ($WIMInfo[4].Architecture -eq 'x86') {
592+
$arch = 'x86'
593+
}
594+
595+
if ($WIMInfo[4].Architecture -eq 'x86_64') {
596+
$arch = 'x64'
597+
}
598+
591599
if ($WIMInfo[4].ServicePackBuild -eq '17056') {
592600
$tag = 'ir4'
593601
}

0 commit comments

Comments
 (0)