Skip to content

Commit

Permalink
Merge pull request #380 from chef/tp-INFC-220
Browse files Browse the repository at this point in the history
Match on 64 for architecture because of different languages
  • Loading branch information
marcparadise authored Aug 9, 2022
2 parents 1eb8c51 + 82fa627 commit 466b6a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function Get-PlatformVersion {
}

function Get-PlatformArchitecture {
if ((Get-Win32OS).osarchitecture -like '64-bit') {
if ((Get-Win32OS).osarchitecture -match '64') {
$architecture = 'x86_64'
} else {
$architecture = 'i386'
Expand Down

0 comments on commit 466b6a4

Please sign in to comment.