Skip to content

quickrun v0.6.1

Latest

Choose a tag to compare

@Unknownuserfrommars Unknownuserfrommars released this 04 Sep 06:29
· 4 commits to main since this release

Fixed

  • Terminal aliases no longer corrupt a UTF-16 PowerShell profile. _read_profile guessed the encoding, and a UTF-16 profile.ps1 (what PS 5.1's Out-File $PROFILE produces) fails UTF-8 but succeeds under cp1252 as mojibake - so on a Western-locale machine quickrun alias --cmd rewrote the whole profile as garbage. A BOM is now authoritative, and BOM-less UTF-16 is detected too (it decodes as valid UTF-8 with NULs).
  • Profile writes are byte-exact. Every existing line keeps its own ending and the original encoding is reused, so quickrun no longer rewrites line endings it did not author.
  • quickstart --ui actually forces the picker. It was silently ignored whenever --area was also given; now --ui --area coding opens the picker with that area preselected. --ui and --no-ui are mutually exclusive instead of --no-ui quietly winning.
  • --apps asks when a name matches several exes, the way find already did. The shared chooser also stops treating an answer of 0 as "the last hit".
  • quickrun update verifies before it swaps. The download's size and the release's sha256 are checked; a truncated or tampered file is discarded and your working quickrun.exe is left untouched.
  • alias --cmd only creates a profile for a shell you actually have, and now prints the profiles it wrote to.

Internal

  • First test suite: 34 cases (Windows-only; profile paths redirect to a temp dir, the registry is never written). Run with pip install -e ".[dev]" && pytest.

Install / update

irm https://raw.githubusercontent.com/Unknownuserfrommars/quickrun/main/install.ps1 | iex

or from an existing install: quickrun update