Replace pwsh with powershell as it is available by default and pwsh needs to be separately installed

This commit is contained in:
Adam Honse 2025-07-04 00:09:15 -05:00
parent 6efb172fb2
commit 38afb8b8eb

View file

@ -80,7 +80,7 @@ unix {
GIT_BRANCH = $$system(sh scripts/git-get-branch.sh)
}
else {
GIT_BRANCH = $$system(pwsh scripts/git-get-branch.ps1)
GIT_BRANCH = $$system(powershell -ExecutionPolicy Bypass -File scripts/git-get-branch.ps1)
}
message("GIT_BRANCH: "$$GIT_BRANCH)