mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops(windows): fix vswhere location (#4636)
%PROGRAMFILES% locations depends on shell bitness; we're migrating from mingw32 to mingw64.
This commit is contained in:
parent
99b98d62a6
commit
c1dcef39a3
@ -78,7 +78,7 @@ createZipForLinux() {
|
||||
|
||||
# see https://docs.microsoft.com/en-us/visualstudio/install/tools-for-managing-visual-studio-instances?view=vs-2019
|
||||
printMSVCRedistDir() {
|
||||
local dll_file=$("$PROGRAMFILES\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll')
|
||||
local dll_file=$("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll')
|
||||
local redist_dir=$(dirname "$dll_file")
|
||||
if ! [[ -d $redist_dir ]]; then
|
||||
echo "ERROR: cannot find MS VS C++ redistributable $redist_dir"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user