diff --git a/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java b/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java index 641551a7..058c570b 100644 --- a/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java +++ b/driver-bundle/src/main/java/com/microsoft/playwright/impl/DriverJar.java @@ -131,7 +131,7 @@ public class DriverJar extends Driver { private static String platformDir() { String name = System.getProperty("os.name").toLowerCase(); if (name.contains("windows")) { - return System.getProperty("os.arch").equals("amd64") ? "win32_x64" : "win32"; + return "win32_x64"; } if (name.contains("linux")) { return "linux"; diff --git a/scripts/download_driver_for_all_platforms.sh b/scripts/download_driver_for_all_platforms.sh index ddddcc95..18bf58ba 100755 --- a/scripts/download_driver_for_all_platforms.sh +++ b/scripts/download_driver_for_all_platforms.sh @@ -33,7 +33,7 @@ fi mkdir -p driver cd driver -for PLATFORM in mac linux win32 win32_x64 +for PLATFORM in mac linux win32_x64 do FILE_NAME=$FILE_PREFIX-$PLATFORM.zip if [[ -d $PLATFORM ]]; then diff --git a/scripts/generate_api.sh b/scripts/generate_api.sh index b2251f05..f922529e 100755 --- a/scripts/generate_api.sh +++ b/scripts/generate_api.sh @@ -14,9 +14,6 @@ Darwin) Linux) PLAYWRIGHT_CLI=./driver-bundle/src/main/resources/driver/linux/playwright.sh ;; -MINGW32*) - PLAYWRIGHT_CLI=./driver-bundle/src/main/resources/driver/win32/playwright.cmd - ;; MINGW64*) PLAYWRIGHT_CLI=./driver-bundle/src/main/resources/driver/win32_x64/playwright.cmd ;; diff --git a/scripts/install_local_driver.sh b/scripts/install_local_driver.sh index ed2080f4..7e094c68 100755 --- a/scripts/install_local_driver.sh +++ b/scripts/install_local_driver.sh @@ -26,10 +26,6 @@ Linux) PLATFORM=linux echo "Downloading driver for Linux" ;; -MINGW32*) - PLATFORM=win32 - echo "Downloading driver for Win32" - ;; MINGW64*) PLATFORM=win32_x64 echo "Downloading driver for Win64"