Skip to content

v1.2.0

Choose a tag to compare

@vadyaravadim vadyaravadim released this 18 Jul 17:45

Added

  • The irm <url> | iex one-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 of main) to %USERPROFILE%\timer-resolution-utility.ps1 and reruns it from there, so the timer_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 .bak before 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 used exit 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 \uXXXX regex escapes) — a BOM breaks irm | iex, non-ASCII in a BOM-less file breaks -File under PowerShell 5.1 — guarded by an ascii-check CI 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