Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Adding Custom Toolchains

  1. Drop a .ps1 pack into src\toolchains\custom\ (see src\toolchains\custom\_example.disabled.ps1). Any file not starting with _ and not ending with .disabled.ps1 is auto-discovered by src\core\catalog.ps1.
  2. Add its personal config INI at config\toolchains\<id>.ini with [Toolchain] overrides (InstallDir, Arch, Version, OptionalProfiles), [Env], and any applicable native config sections.
  3. Add opt-in profiles under profiles\<id>\*.ini — they automatically appear in --profiles <id> and TUI action [4] Apply Per-Toolchain Profile.

Required Guardrails

  • Pure Portable .zip Only: Every toolchain Resolve scriptblock MUST resolve to a pure portable .zip archive. Assert-PortableZipAsset and Test-FileIsPkZip reject .7z.exe SFX archives and .exe/.msi installers automatically.
  • Official Registry Keys Only: Only list real executables in AppPathExes (registered under HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\<exe>) and only add an OfficialRegistryHook when the upstream vendor officially documents an HKCU\Software\<Vendor> key. Never invent synthetic registry keys.