|
316 | 316 | </Target>
|
317 | 317 | -->
|
318 | 318 | <PropertyGroup>
|
319 |
| - <PostBuildEvent>if %25PROCESSOR_ARCHITECTURE%25 == x86 ( |
320 |
| - if not defined PROCESSOR_ARCHITEW6432 ( |
321 |
| - echo Detected 32-bit platform |
322 |
| - if exist "$(ProjectDir)..\..\..\build\cpp\Win32\$(ConfigurationName)\IEDriverServer.exe" ( |
323 |
| - echo Found IE 32-bit native binary, copying from Win32 build target $(ProjectDir)..\..\..\build\cpp\Win32\$(ConfigurationName)\IEDriverServer.exe |
324 |
| - copy /y "$(ProjectDir)..\..\..\build\cpp\Win32\$(ConfigurationName)\IEDriverServer.exe" "$(TargetDir)" > NUL |
325 |
| - ) else ( |
326 |
| - echo Missing IE 32-bit native binary, copying from Win32 prebuilt location $(ProjectDir)..\..\..\cpp\prebuilt\Win32\Release\IEDriverServer.exe |
327 |
| - copy /y "$(ProjectDir)..\..\..\cpp\prebuilt\Win32\Release\IEDriverServer.exe" "$(TargetDir)" > NUL |
328 |
| - ) |
329 |
| - goto end |
330 |
| - ) |
331 |
| -) |
332 |
| - |
333 |
| -echo Detected 64-bit platform |
334 |
| -if exist "$(ProjectDir)..\..\..\build\cpp\x64\$(ConfigurationName)\IEDriverServer.exe" ( |
335 |
| - echo Found IE 64-bit native binary, copying from x64 build target $(ProjectDir)..\..\..\build\cpp\x64\$(ConfigurationName)\IEDriverServer.exe |
336 |
| - copy /y "$(ProjectDir)..\..\..\build\cpp\x64\$(ConfigurationName)\IEDriverServer.exe" "$(TargetDir)" > NUL |
| 319 | + <PostBuildEvent>if exist "$(ProjectDir)..\..\..\build\cpp\Win32\$(ConfigurationName)\IEDriverServer.exe" ( |
| 320 | + echo Found IE 32-bit native binary, copying from Win32 build target $(ProjectDir)..\..\..\build\cpp\Win32\$(ConfigurationName)\IEDriverServer.exe |
| 321 | + copy /y "$(ProjectDir)..\..\..\build\cpp\Win32\$(ConfigurationName)\IEDriverServer.exe" "$(TargetDir)" > NUL |
337 | 322 | ) else (
|
338 |
| - echo Missing IE 64-bit native binary, copying from x64 prebuilt location $(ProjectDir)..\..\..\cpp\prebuilt\x64\Release\IEDriverServer.exe |
339 |
| - copy /y "$(ProjectDir)..\..\..\cpp\prebuilt\x64\Release\IEDriverServer.exe" "$(TargetDir)" > NUL |
| 323 | + echo Missing IE 32-bit native binary, copying from Win32 prebuilt location $(ProjectDir)..\..\..\cpp\prebuilt\Win32\Release\IEDriverServer.exe |
| 324 | + copy /y "$(ProjectDir)..\..\..\cpp\prebuilt\Win32\Release\IEDriverServer.exe" "$(TargetDir)" > NUL |
340 | 325 | )
|
341 | 326 |
|
342 |
| -:end |
343 | 327 | if exist "$(ProjectDir)..\..\..\build\javascript\firefox-driver\webdriver.xpi" (
|
344 | 328 | echo Copying Firefox extension from $(ProjectDir)..\..\..\build\javascript\firefox-driver\webdriver.xpi
|
345 | 329 | copy /y "$(ProjectDir)..\..\..\build\javascript\firefox-driver\webdriver.xpi" "$(TargetDir)" > NUL
|
|
0 commit comments