fix(android): bundle android driver in all settings (#5883)
This commit is contained in:
parent
cac5aeb6da
commit
14ccc80cb3
|
|
@ -28,7 +28,7 @@ const cpAsync = util.promisify(ncp);
|
||||||
const SCRIPT_NAME = path.basename(__filename);
|
const SCRIPT_NAME = path.basename(__filename);
|
||||||
const ROOT_PATH = path.join(__dirname, '..');
|
const ROOT_PATH = path.join(__dirname, '..');
|
||||||
|
|
||||||
const PLAYWRIGHT_CORE_FILES = ['bin/PrintDeps.exe', 'lib', 'types', 'NOTICE', 'LICENSE'];
|
const PLAYWRIGHT_CORE_FILES = ['bin/PrintDeps.exe', 'lib', 'types', 'NOTICE', 'LICENSE', 'bin/android-driver.apk', 'bin/android-driver-target.apk'];
|
||||||
|
|
||||||
const PACKAGES = {
|
const PACKAGES = {
|
||||||
'playwright': {
|
'playwright': {
|
||||||
|
|
@ -67,7 +67,7 @@ const PACKAGES = {
|
||||||
version: '0.0.8', // Manually manage playwright-android version.
|
version: '0.0.8', // Manually manage playwright-android version.
|
||||||
description: 'A high-level API to automate Chrome for Android',
|
description: 'A high-level API to automate Chrome for Android',
|
||||||
browsers: ['ffmpeg'],
|
browsers: ['ffmpeg'],
|
||||||
files: [...PLAYWRIGHT_CORE_FILES, 'bin/android-driver.apk', 'bin/android-driver-target.apk'],
|
files: [...PLAYWRIGHT_CORE_FILES],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue