Skip to content

rewrite install.sh; add ⌘↩ to paste an image's OCR text - #10

Merged
spongycode merged 1 commit into
mainfrom
development
Sep 29, 2026
Merged

spongycode merged 1 commit into
mainfrom
development

Conversation

@spongycode

Copy link
Copy Markdown
Owner

Installer:

  • install the latest GitHub release by default (seconds, no Xcode tools); fall back to a source build when no compatible release exists
  • verify the zip's SHA-256 and the app's code signature; a checksum mismatch aborts instead of falling back
  • quit the copy being replaced, then swap atomically with rollback
  • refuse to overwrite an unrelated clap binary, checked up front
  • options: --version, --source, --release, --app-dir, --bin-dir, --no-launch, --uninstall, --purge, --help (+ env var equivalents)
  • hard checks for macOS 14+ and Swift 6; clear errors; no sudo
  • whole script inside main() so a truncated download runs nothing

Panel:

  • ⌘↩ on an image pastes its extracted (OCR) text instead of the image; shows "No text found in this image" when recognition found none; text and shell entries behave like plain Enter
  • OCR card "Copy Text" button hints at ⌘↩

Docs: installer options and the new shortcut in README/ARCHITECTURE.

Installer:
- install the latest GitHub release by default (seconds, no Xcode tools);
  fall back to a source build when no compatible release exists
- verify the zip's SHA-256 and the app's code signature; a checksum
  mismatch aborts instead of falling back
- quit the copy being replaced, then swap atomically with rollback
- refuse to overwrite an unrelated `clap` binary, checked up front
- options: --version, --source, --release, --app-dir, --bin-dir,
  --no-launch, --uninstall, --purge, --help (+ env var equivalents)
- hard checks for macOS 14+ and Swift 6; clear errors; no sudo
- whole script inside main() so a truncated download runs nothing

Panel:
- ⌘↩ on an image pastes its extracted (OCR) text instead of the image;
  shows "No text found in this image" when recognition found none;
  text and shell entries behave like plain Enter
- OCR card "Copy Text" button hints at ⌘↩

Docs: installer options and the new shortcut in README/ARCHITECTURE.
@spongycode
spongycode merged commit eabe954 into main Sep 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant