chore: use pwsh 7.6 instead of powershell
This commit is contained in:
parent
c6c38f1e5d
commit
7386969c27
@ -91,3 +91,4 @@ The config preview rendering pipeline: merge template + profile + overlays → r
|
||||
- **No tabs**: use spaces for indentation in all source files.
|
||||
- **No `fetch()` in templates** for page data — all API calls must go through Go server-side handlers. JS is only for UI interactivity (modals, carousels, confirm dialogs).
|
||||
- **No inline `onclick` with complex quoting** — use `data-*` attributes + event delegation instead.
|
||||
- **Use `pwsh`** for PowerShell commands (v7.6.1 in PATH, not `powershell.exe`).
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
setlocal
|
||||
chcp 65001 >nul
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0managerd.ps1" %*
|
||||
pwsh -NoProfile -ExecutionPolicy Bypass -File "%~dp0managerd.ps1" %*
|
||||
exit /b %ERRORLEVEL%
|
||||
|
||||
Loading…
Reference in New Issue
Block a user