Refactor parameter handling in build and sign scripts for PowerShell 5.1 compatibility

This commit is contained in:
2026-02-25 08:34:44 +11:00
parent 3fb8e98eed
commit 5c5a8b3b4c
3 changed files with 47 additions and 5 deletions

5
tasks/lessons.md Normal file
View File

@@ -0,0 +1,5 @@
# Lessons
## 2026-02-24
- PowerShell 5.1 compatibility: do not use `$PSScriptRoot` (or other script-location variables) inside `param()` default expressions. Resolve script-relative defaults after the `param` block instead.