Skip to content

Sorla 1.1.0

Choose a tag to compare

@markstrom markstrom released this 24 Sep 21:51
· 78 commits to main since this release
  • Sorla installs its own updates. When a check finds a newer version, Install and Relaunch in Settings › Updates or the menu's status row downloads exactly that release (the versioned Sorla-X.Y.Z.dmg the check saw, never whatever "latest" is by then) into a private folder, with a size cap and a check that it arrived whole. Nothing is touched until the app in it passes: mounted read-only and hidden, signed with Sorla's Team ID and bundle ID, notarized according to Gatekeeper, and exactly the version that was found and newer than the running one. It is then copied next to Sorla, checked again and swapped in at the same path, so permissions stay; Sorla waits for any recording, transcription, paste or clipboard restore in flight, relaunches once the old process has exited, and never reopens the old app. The previous version stays next to it (for example Sorla 1.0.3.app) until the new one has run for 30 seconds, so a new version that won't start leaves the old one to open. Any failure keeps the current version and says so, never as "Latest". Download stays as the fallback; a copy that can't be replaced (a folder you can't write to, or App Translocation) explains why, and a Homebrew install is told to run brew upgrade --cask sorla.
  • A Sorla installed with Homebrew is recognised by the link Homebrew keeps to it in its Caskroom (under /opt/homebrew or /usr/local), also when the app itself is in Applications, so it never replaces itself behind Homebrew's back: Settings and the menu point to brew upgrade --cask sorla instead, and automatic installs leave it alone.
  • Install updates automatically now covers Sorla too (only with automatic checks on, both off by default): a new version found by the daily check is downloaded and verified in the background and installed after 10 minutes without dictation, or at the next launch, never during a dictation. Afterwards the menu briefly says "Sorla was updated to X.Y.Z". The Settings hint says so.
  • When Sorla.app has been replaced on disk while Sorla runs, pressing the trigger no longer records words that can't be pasted. The indicator shows a restart arrow in place of the red dot, VoiceOver says "Sorla has been updated — restarting", and Sorla restarts into the new version by itself (after any earlier dictation has landed), so the next press works. The menu bar icon gets a small restart badge as soon as Sorla notices the new copy, without waiting for a press. A Sorla that can't reopen itself (App Translocation) records as before and keeps the menu row and clipboard fallback.