launchctl bootout returns while mxd is still restoring its buttons, so
an immediate bootstrap failed with "5: Input/output error". Poll for up
to 10 s until the service is gone.
Assisted-by: Claude Sonnet 5.5
Signed-off-by: Yigit BALABAN <balaban@yigid.dev>
Keep the signing identity in the Makefile rather than in shell config.
A Mac without the certificate fails at signing, before the running mxd
is stopped. Override with SIGN_ID=- for ad-hoc signing.
Assisted-by: Claude Sonnet 5.5
Signed-off-by: Yigit BALABAN <balaban@yigid.dev>
A loose binary can't have a name or icon, so permission lists, Login
Items and Activity Monitor showed it bare. mxd.app fixes that, and the
source stays one Swift file.
mxd.icns is committed so Macs without Icon Composer can build. It's
rendered from mxd.icon by ictool, because compiling the .icon into an
Assets.car needs actool from full Xcode. The icon is therefore static,
with no dark or tinted variants.
make install replaces the manual steps. SIGN_ID selects the signing
identity: ad-hoc by default, which ties grants to the build's hash.
Assisted-by: Claude Sonnet 5.5
Signed-off-by: Yigit BALABAN <balaban@yigid.dev>