refactor(powershell): store powershell path directly

This commit is contained in:
Andre Toerien
2025-07-17 15:13:29 +02:00
committed by Gideon
parent b166aae835
commit 3f9fe845e5
6 changed files with 67 additions and 71 deletions

View File

@@ -1036,6 +1036,14 @@ pub fn run_dotnet_upgrade(ctx: &ExecutionContext) -> Result<()> {
Ok(())
}
pub fn run_powershell(ctx: &ExecutionContext) -> Result<()> {
let powershell = ctx.require_powershell()?;
print_separator(t!("Powershell Modules Update"));
powershell.update_modules(ctx)
}
enum Hx {
Helix(PathBuf),
HxHexdump,