Repository navigation
A toolkit for GitHub releases.
Highlights
- Windows
.cmdarchive command discovery and shimming (#267): Discovers.cmdentry points alongside.exebinaries in extracted Windows archives (such asnpm.cmdandnpx.cmdnext tonode.exe) with.exe-first BFS level selection,.cmd-only fallback, andPATHEXT.exe-over-.cmddeduplication; publishes.cmdcommands via hardened native PE shims (CVE-2024-24576batch argument escaping, batch-target character guards, non-inheritedSetConsoleCtrlHandler) and extends WSLghr link/ghr unlinkto reconcile"script"bash wrappers. - Linux host-libc detection, symmetric Linux scoring, and
SHASUMS256.txtverification (#266, #268): Lazily detects and memoizes the runtime Linux host C library (gnuvsmusl) via psABI dynamic loader paths (gcompat-aware, ELFPT_INTERPtie-break) so staticlinux-*-muslghrbuilds select native glibc assets on glibc hosts without extra syscalls on unambiguous releases; symmetrizes Linux libc,-profile/-baseline,.deb, and foreign-architecture scoring; verifiesSHASUMS256.txt/SHASUMS512.txtchecksum files; and incorporates Linuxhost_libcintoghr install --print-cache-keyandactions/downloadcache keys.
Full changelog: v0.10.4...v0.10.5
Install
Linux and macOS:
curl -fsSL https://raw.githubusercontent.com/cataggar/ghr/main/install.sh | GHR_VERSION=v0.10.5 shWindows (PowerShell):
$env:GHR_VERSION = 'v0.10.5'; iwr -useb https://raw.githubusercontent.com/cataggar/ghr/main/install.ps1 | iexSee Installation for package managers and uninstall instructions.