mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: disable CapturableScreen tests on Windows x64
This commit is contained in:
@@ -171,10 +171,8 @@ export class ScreenCapture {
|
||||
* - Linux: virtual screen display is 0x0
|
||||
* - Win32 arm64 (WOA): virtual screen display is 0x0
|
||||
* - Win32 ia32: skipped
|
||||
* - Win32 x64: virtual screen display is 0x0
|
||||
*/
|
||||
export const hasCapturableScreen = () => {
|
||||
return (
|
||||
process.platform === 'darwin' ||
|
||||
(process.platform === 'win32' && process.arch === 'x64')
|
||||
);
|
||||
return process.platform === 'darwin';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user