launcher: start the Agility SDK's PowerShell with a clean PSModulePath #50

Manually merged
github merged 1 commit from github-bot/gh-50 into main 2026-12-05 20:02:35 +00:00 AGit
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 18:59 UTC · original
Kal0s-design:port/agility-powershell-modules → main · +4 −0 · 1 files · 1 commits · merged 2026-12-05 19:57 UTC

A follow-up to #34, also from upstream (2327742, author kept). The launcher downloads and unpacks the Agility SDK through PowerShell, and it now starts that PowerShell with a clean PSModulePath.

Windows PowerShell started from a PowerShell 7 shell inherits PowerShell 7's module path and then finds none of its own cmdlets, so the install could fail depending only on which shell the launcher was started from. Removing the variable for the child process lets it use its own default modules. Nothing else about the install changes. Upstream took it from another fork, 0Arbor0/Arbor-mix.

It applied cleanly on current main. The launcher tests pass and clippy reports nothing new in the file. I couldn't exercise the download itself here, since this machine doesn't need the SDK installed.

AI-assisted: yes

🤖 Generated with Claude Code

**@⁠Kal0s-design** on GitHub · 2026-12-05 18:59 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/50) `Kal0s-design:port/agility-powershell-modules` → `main` · +4 −0 · 1 files · 1 commits · merged 2026-12-05 19:57 UTC A follow-up to #34, also from upstream (2327742, author kept). The launcher downloads and unpacks the Agility SDK through PowerShell, and it now starts that PowerShell with a clean PSModulePath. Windows PowerShell started from a PowerShell 7 shell inherits PowerShell 7's module path and then finds none of its own cmdlets, so the install could fail depending only on which shell the launcher was started from. Removing the variable for the child process lets it use its own default modules. Nothing else about the install changes. Upstream took it from another fork, 0Arbor0/Arbor-mix. It applied cleanly on current main. The launcher tests pass and clippy reports nothing new in the file. I couldn't exercise the download itself here, since this machine doesn't need the SDK installed. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Windows PowerShell started from a PowerShell 7 shell inherits PS7's module
path and then finds none of its own cmdlets; the Agility SDK installer
should behave the same whichever shell started the launcher.

From 0Arbor0/Arbor-mix (PowerShell spawn hygiene).

(cherry picked from commit 2327742468761a317e285481c2f06cb3d4b5433d)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 19:05:07 +00:00
github-bot force-pushed github-bot/gh-50 from a33a856da7 to 089b38c91d 2026-12-05 19:51:05 +00:00 Compare
github manually merged commit 6be6144dcb into main 2026-12-05 20:02:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.