Commit Graph

4 Commits

Author SHA1 Message Date
YoshiRulz c5f6dcd4e8
Make PowerShell strictly optional for Git hooks
...and remove auto-`dotnet tool restore`. If you don't have PowerShell
on `$PATH`/`%PATH%`, Git hooks will simply not be ran.
I still intend to migrate the rest of `/Dist` to PowerShell. Undecided
on unmanaged cores and wbox.
2024-06-09 12:51:32 +10:00
YoshiRulz 124a1ea509
Simplify Git hook installation 2024-06-09 12:48:06 +10:00
YoshiRulz ffa5bb9b74
Use a polyglot BASH/Batch script as a shim for the Git commit hook 2024-06-08 14:28:38 +10:00
YoshiRulz 5c31711710
Automatically install client-side Git hooks
This is how npm-style RCE hacks happen by the way. You should all be
vetting `dotnet-tools.json` and all MSBuild and PowerShell scripts.
2024-06-07 15:39:44 +10:00