Skip to content

Commit

Permalink
fix(shaka-lab-node): Fix Windows path to PowerShell (#66)
Browse files Browse the repository at this point in the history
After some upgrades, the path to PowerShell is no longer in the default PATH environment variable.  This makes it explicit in the script that updates drivers.

If the actual path to PowerShell on your system differs from the norm, set your global PATH environment variable appropriately.
  • Loading branch information
joeyparrish authored Nov 3, 2024
1 parent 28a91d4 commit de3dd4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shaka-lab-node/windows/update-drivers.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ C:\Windows\System32\taskkill.exe /IM chromedriver-android.exe /F 2>&1
C:\Windows\System32\taskkill.exe /IM geckodriver.exe /F 2>&1

:: Update all drivers.
SET PATH=%PATH%;C:\Windows\System32\WindowsPowerShell\v1.0
call node_modules/.bin/webdriver-installer.cmd .
if %errorlevel% neq 0 exit /b %errorlevel%

0 comments on commit de3dd4c

Please sign in to comment.