windows-application-driver@1.2.1: Move dlls to app root dir (#5413)

* windows-application-driver: move supporting dlls from System folder next to WinAppDriver.exe

* windows-application-driver: set APPIUM_WAD_PATH environment variable with custom WAD location

* windows-application-driver: move all files to the app root directory and remove bin shim

* windows-application-driver: convert APPIUM_WAD_PATH env_set to notes

* Update windows-application-driver.json

---------

Co-authored-by: Loïc PÉRON <loic.peron@inetum.com>
Co-authored-by: HUMORCE <humorce@outlook.com>
This commit is contained in:
Loïc PÉRON 2024-01-12 16:51:18 +01:00 committed by GitHub
parent e99232ca1d
commit 47ccdada6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,17 @@
"description": "Supports Selenium-like UI Test Automation on Windows Applications.",
"homepage": "https://github.com/Microsoft/WinAppDriver",
"license": "MIT",
"notes": [
"Declare custom WinAppDriver.exe location for appium-windows-driver:",
"'$Env:APPIUM_WAD_PATH = \"$dir\\WinAppDriver.exe\"'"
],
"url": "https://github.com/Microsoft/WinAppDriver/releases/download/v1.2.1/WindowsApplicationDriver_1.2.1.msi",
"hash": "a76a8f4e44b29bad331acf6b6c248fcc65324f502f28826ad2acd5f3c80857fe",
"bin": "Windows Application Driver\\WinAppDriver.exe",
"post_install": [
"Move-Item \"$dir\\System\\*\", \"$dir\\Windows Application Driver\\*\" -Destination \"$dir\"",
"Remove-Item \"$dir\\System\", \"$dir\\Windows Application Driver\""
],
"bin": "WinAppDriver.exe",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/Microsoft/WinAppDriver/releases/download/v$version/WindowsApplicationDriver_$version.msi"