v0.1.15
Fixed
- Tool installs (Caddy, uv) could fail during
stack setup/firststack up
withfailed to run Expand-Archiveon machines where PowerShell's
Expand-Archivecmdlet wasn't usable (older PowerShell, execution-policy
restrictions, etc.). Zip extraction is now handled entirely in-process via
a pure-Rust implementation — no external PowerShell process involved. stack setupcould fail outright withfailed to ask PowerShell for $PROFILE: program not found, silently skipping the shell hook, on
machines where neitherpwshnorpowershellcould be spawned as a
subprocess. The profile path is now computed directly (it's a documented,
static Windows known-folder location) instead of asking a spawned shell
process for it — and it correctly follows Documents-folder redirection
(e.g. OneDrive).stack setuppreviously assumed you were runningpwshby default. It
now detects which shell (pwsh,powershell, orcmd) actually launched
it, so the hook gets written into the profile you actually use instead of
possibly the wrong one.
Note: v0.1.14 was published with an unrelated manifest change
([language.php].workers) before these fixes landed on main; this
release carries them forward under a new version since crates.io versions
are immutable.
Install
irm https://github.com/sanayasfp/stack/releases/latest/download/stackenv-installer.ps1 | iexor
cargo install stackenv