Skip to content

Perch 0.2.2

Latest

Choose a tag to compare

@marukolibro marukolibro released this 03 Dec 03:32

What's New in Perch 0.2.2

Command Line (perch) & PATH Installation

  • Open folders, files, and exact file:line[:col] locations from the terminal (perch ., perch internal/app/view.go:120:5, multiple targets in one command, -g/--goto, --, --cwd, -h/--help, -v/--version).
  • Smart window routing:
    • Prefers exact filenames (so files containing colons open cleanly), preserves Windows drive prefixes, handles UTF-8 rune column conversion, and clamps out-of-range lines/columns safely.
    • Reuses the deepest matching open project window (symlink-aware), preserves unsaved edits, dismisses blocking overlays/popovers, and automatically resolves the enclosing Git repository root (including worktrees and submodules) for files outside any open window.
    • Protects CLI-opened tabs and cursor positions from being overwritten by asynchronous session restoration.
  • Install / Uninstall perch Command in PATH:
    • Added Perch → Install 'perch' Command in PATH / Uninstall 'perch' Command from PATH menu actions across macOS, Linux, and Windows.
    • Installs a non-blocking launcher script that preserves the terminal's working directory and never overwrites or removes third-party binaries.
  • Unified macOS Dock / Finder Drag-and-Drop:
    • Dropping files or folders onto Perch's Dock/app icon now shares the same Git root discovery, deepest-window matching, symlink normalization, and empty-window reuse while preserving literal filenames containing colons.

In-App Auto-Updates (Delta Patches from 0.2.1)

  • Users on Perch 0.2.1 can update directly via Perch → Check for Updates… or Settings → Updates using Ed25519-signed binary delta patches (~660 KB – 1.9 MB).

Thanks to @coolpope for the initial CLI & PATH installation contribution in #5!

Verification

  • SHA256SUMS covers all installers, archives, and delta patches.
  • On macOS, if Gatekeeper warns on first launch, run:
    xattr -dr com.apple.quarantine /Applications/Perch.app