From 47ccdada6ec531a1411c22f5d1af3d99245fd8d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20P=C3=89RON?= <44115467+nicerloop@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:51:18 +0100 Subject: [PATCH] windows-application-driver@1.2.1: Move dlls to app root dir (#5413) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Co-authored-by: HUMORCE --- bucket/windows-application-driver.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bucket/windows-application-driver.json b/bucket/windows-application-driver.json index 4e81021494..99f4f31b01 100644 --- a/bucket/windows-application-driver.json +++ b/bucket/windows-application-driver.json @@ -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"