Use absolute PATH to powershell.exe (#204)
Some checks failed
CI / basics (push) Has been cancelled

This commit is contained in:
Sandro 2024-07-05 16:03:11 +02:00 committed by GitHub
parent d086ab0077
commit 5d1f938b47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -263,7 +263,7 @@ case $( uname -s ) in
CYGWIN*) open='cygstart';; CYGWIN*) open='cygstart';;
*) # Try to detect WSL (Windows Subsystem for Linux) *) # Try to detect WSL (Windows Subsystem for Linux)
if uname -r | grep -q -i Microsoft; then if uname -r | grep -q -i Microsoft; then
open='powershell.exe -NoProfile Start' open='/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -NoProfile Start'
else else
open='xdg-open' open='xdg-open'
fi;; fi;;