v1.2.0
Added
- The
irm <url> | iexone-liner now works: with no file on disk, the script saves the exact text you piped in (a fork, a branch, a local copy — not a re-download ofmain) to%USERPROFILE%\timer-resolution-utility.ps1and reruns it from there, so thetimer_undo_*.json/ BCD backup files and the resolution-holder task get a stable path. The rerun handles elevation as usual. - If a different copy already exists at that path, it is kept as
.bakbefore overwriting. - Mode switches (
-Status,-Measure -Samples,-Undo) are forwarded through one shared list used by both the bootstrap rerun and the self-elevation relaunch, so neither can silently drop them.
Fixed
- An unhandled error in a piped (
irm | iex) run no longer closes your console: the trap usedexit 1, which terminated the session it ran in. It now rethrows the error instead.
Internal
- The script is now pure ASCII with no BOM (localized bcdedit tokens as
\uXXXXregex escapes) — a BOM breaksirm | iex, non-ASCII in a BOM-less file breaks-Fileunder PowerShell 5.1 — guarded by anascii-checkCI workflow.
Docs
- README Quick Start: the one-liner is now plain
irm ... | iex— the script saves itself.
Full Changelog: v1.1.1...v1.2.0