Skip to content

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 09 Apr 17:15

Notepatra v0.1.5 — Windows installer (NSIS fix)

v0.1.4 attempted to ship a real Windows installer (NSIS MUI2) but the NSIS script failed to compile in CI with Invalid command: "${GetSize}". Root cause: FileFunc.nsh was included but GetSize was never !insertmacro-d, and the includes were at the bottom of the script (NSIS is single-pass — every macro and include must come before its first use). All three platform binaries were built but no GitHub Release was published because the Windows job aborted before the release step.

Fixed

🪟 NSIS installer now compiles and ships

  • Moved all !include and !insertmacro directives to the top of installers/windows.nsi
  • Added explicit !insertmacro GetSize (used to populate the EstimatedSize field of the Installed apps registry entry)
  • Added explicit !insertmacro WordReplace and !insertmacro un.WordReplace (used by the PATH add/remove helpers)

Everything from v0.1.4 still in this release

Since v0.1.4 never published a GitHub Release, v0.1.5 ships everything that was in the v0.1.4 commit:

🪟 Proper Windows installer — notepatra-setup-0.1.5.exe

  • Installs to %LOCALAPPDATA%\Notepatra per-user (no UAC prompt)
  • Writes HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Notepatra with DisplayName, DisplayVersion, Publisher, InstallLocation, DisplayIcon, UninstallString, EstimatedSize, URLInfoAbout, HelpLink, NoModify, NoRepair so it appears in Settings → Apps → Installed apps
  • Generates uninstall.exe that removes files + registry + shortcuts + PATH entry
  • Creates Start Menu shortcuts under "Notepatra" + optional Desktop shortcut
  • Optional PATH integration via Components page
  • Same cosign + SLSA pipeline as the zip

🪟 install.ps1 (PowerShell one-liner) also writes the Uninstall registry

So users who install via irm https://notepatra.org/install.ps1 | iex also get a proper "Installed apps" entry without downloading the .exe installer.

📊 Live 3-platform download counter on website footer

Pulls from the GitHub Releases API on every page load. Per-platform totals with 🐧 / 🍎 / 🪟 icons.

🐛 notepatra --version no longer hard-coded to v0.1.0

Bug existed since v0.1.0. main.cpp had a hard-coded printf("Notepatra v0.1.0\n"). Now reads NOTEPATRA_VERSION injected at compile time from project(Notepatra VERSION X.Y.Z) in CMakeLists.txt — single source of truth.

🛠 scripts/bump_version.sh — single-command release bump

Updates CMakeLists.txt, docs/index.html, README.md, CHANGELOG.md, and release_notes/.md in one shot. First used to bump from v0.1.4 → v0.1.5 for this release.

Verifying this release

Same as previous releases — SHA-256 in SHA256SUMS, cosign keyless signatures, SLSA build provenance attestations. See SECURITY.md.

Downloads

Platform Asset Notes
🐧 Linux x64 notepatra-linux-x64.tar.gz Bare binary
🍎 macOS Apple Silicon notepatra-macos-arm64.dmg Drag to Applications
🪟 Windows x64 (installer) notepatra-setup-0.1.5.exe NEW — registers in Installed apps
🪟 Windows x64 (portable) notepatra-windows-x64.zip Unzip and run, no registry
All SHA256SUMS Verify checksums

Full changelog: https://github.com/singhpratech/notepatra/blob/main/CHANGELOG.md