Skip to content

Commit

Permalink
set PROCESSOR_ARCHITECTURE with PROCESSOR_IDENTIFIER
Browse files Browse the repository at this point in the history
  • Loading branch information
slore committed Sep 27, 2019
1 parent b1b2fff commit 0b17f6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WimBuilder.cmd
Expand Up @@ -9,6 +9,11 @@ set "PATH_ORG=%PATH%"
rem ======set bin PATH======
set "PATH=%WB_ROOT%\bin;%PATH%"

set PROCESSOR_ARCHITECTURE=AMD64
if /i %PROCESSOR_IDENTIFIER:~0,3%==x86 (
set PROCESSOR_ARCHITECTURE=x86
)

set WB_ARCH=x86
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
set WB_ARCH=x64
Expand Down

0 comments on commit 0b17f6f

Please sign in to comment.