Skip to content

NotchHub 0.3.3 — one adapter, not two

Choose a tag to compare

@Srimi1 Srimi1 released this 25 Aug 18:57
· 64 commits to main since this release

NotchHub 0.3.3

⚠️ Signed, but not notarized — macOS will block it

NotchHub-0.3.3-universal.dmg is signed with an Apple Development certificate
under the hardened runtime, with a secure timestamp. It is not a Developer ID,
so Gatekeeper refuses it on a Mac that did not build it.

The recommended install is to build from source — about a minute, and full
provenance:

git clone https://github.com/Srimi1/Notch-hub.git
cd Notch-hub && ./scripts/build-app.sh release
cp -R NotchHub.app /Applications/

If you use the DMG anyway, verify it first:

shasum -a 256 NotchHub-0.3.3-universal.dmg
ca3652fe8d18a1b8b594841f30c1fd81e20eea9b4b0ba74670e146ec589d8264

Then open System Settings → Privacy & Security → Open Anyway after the
first launch attempt. See Apple's guidance.

Requires macOS 14 or later. Universal — Apple Silicon and Intel.


Two bug fixes, both found by watching the running app rather than by the tests.

One adapter, not two

0.3.2 started the media reader at launch. It turned out to start two of them,
and both streamed the same data for the whole session.

Before the first launch, NotchHub clears any adapter left behind by a previous
run. That cleanup waits on pkill — and waiting spins the run loop, which lets
work already queued on the main actor run inside the wait. The
module-visibility handler did exactly that: it re-entered the start path, found
no adapter recorded yet (the first one had not launched), and started its own.

Fixed with a flag covering the window between deciding to start and having
something to show for it. The regression test starts two adapters against the old
code and one against the new.

Nothing said on the way out is lost

A process that wrote and exited immediately could have its output discarded
entirely: the termination handler cleared the read handler and closed the pipe,
and if the handler had not fired yet, that output was simply gone — the case
where it matters most, since that is what a crashing adapter's last words look
like.

It now drains what is left in the pipe first, bounded so that a writer outliving
the process cannot wedge the thread.


Full changelog: v0.3.2...v0.3.3