From 3a1e0f7f686dd8e225c504aa15898d47c2889196 Mon Sep 17 00:00:00 2001 From: Zepp Date: Mon, 9 Jul 2018 11:57:51 +0800 Subject: compatible with non-English version of Windows (#3866) --- scripts/bootstrap.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1 index ac25a88d5..5554ddc1e 100644 --- a/scripts/bootstrap.ps1 +++ b/scripts/bootstrap.ps1 @@ -333,7 +333,7 @@ $vcpkgReleaseDir = "$vcpkgSourcesPath\release" if ($win64) { $architecture=(Get-WmiObject win32_operatingsystem | Select-Object osarchitecture).osarchitecture - if ($architecture -ne "64-bit") + if (-not $architecture -like "*64*") { throw "Cannot build 64-bit on non-64-bit system" } -- cgit v1.2.3