chore: pretend world is win64 (#8306)

It looks like we have a very small share of users on 32-bit windows.
This is a tiny change that stops Playwright from using 32-bit windows
binaries.

References #8045
This commit is contained in:
Andrey Lushnikov 2021-08-19 16:09:04 +03:00 committed by GitHub
parent d5b058f496
commit d9206ebefc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,7 +379,7 @@ export const hostPlatform = ((): HostPlatform => {
return 'ubuntu20.04';
}
if (platform === 'win32')
return os.arch() === 'x64' ? 'win64' : 'win32';
return 'win64';
return platform as HostPlatform;
})();