Update-UsageMonitor
1.1.0
the release notes while the download is still running - the progress indicator is
drawn below the text instead of over it, so waiting time is reading time.
The downloaded build is verified against the SHA-256 digest GitHub publishes for it
and against its Authenticode signature; noth
the release notes while the download is still running - the progress indicator is
drawn below the text instead of over it, so waiting time is reading time.
The downloaded build is verified against the SHA-256 digest GitHub publishes for it
and against its Authenticode signature; nothing is installed if verification fails.
The new file is staged beside the target so the final swap is atomic, and the previous
build is kept until that swap succeeds.
Steps:
1. Reads the latest release of the given GitHub repository.
2. Compares it with the version of the installed executable. If they match,
asks whether to re-download and re-apply it anyway.
3. Prints the release notes (changelog) of the new version.
4. Closes every running instance of the executable.
5. Downloads the matching asset for the current CPU architecture, verifies it
(SHA-256 digest published by GitHub and/or Authenticode signature), then
moves it over the installed copy.
6. Restarts the main instance plus any additional instances defined by
"<exe-name> - *.lnk" shortcuts sitting next to the executable.
The changelog stays readable while the download runs: the progress indicator is a
single line redrawn in place below the text, instead of Write-Progress, which
Windows PowerShell renders as a banner over the top of the console.
Installation Options
Owners
Copyright
(c) 2026 hybrid2102. MIT licensed.
Package Details
Author(s)
- hybrid2102
Tags
Windows Updater GitHub Claude UsageMonitor Tray AutoUpdate
Functions
Write-Rule Write-Step Write-Detail Write-Ok Write-Warn Write-Fail Format-Size Read-YesNo Show-Changelog Test-CanRedraw Write-ProgressBar Test-Windows Initialize-SecurityProtocol Test-DirectoryWritable Test-GalleryInstall Test-Elevated Get-HttpErrorInfo Get-LatestRelease Select-ReleaseAsset Get-InstalledVersion ConvertTo-ComparableVersion Stop-RunningInstance Start-Instance Save-Asset Test-DownloadedFile Move-WithRetry Install-Executable Invoke-Update
Dependencies
This script has no dependencies.
Release Notes
https://github.com/hybrid2102/usage-monitor-updater/blob/main/CHANGELOG.md
FileList
- Update-UsageMonitor.nuspec
- Update-UsageMonitor.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.1.1 | 8 | 8/31/2026 |
| 1.1.0 (current version) | 3 | 8/31/2026 |