Package mxd as an app bundle

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>
This commit is contained in:
yigid committed 2026-10-31 00:09:23 +03:00
1 parent 1a350197fc
commit 128db9fbb7
5 files changed
+104

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>dev.yigid.mxd</string>
<key>ProgramArguments</key>
<array>
<string>__HOME__/Applications/mxd.app/Contents/MacOS/mxd</string>
</array>
<key>AssociatedBundleIdentifiers</key>
<array>
<string>dev.yigid.mxd</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>ProcessType</key>
<string>Interactive</string>
<key>StandardErrorPath</key>
<string>__HOME__/Library/Logs/mxd.log</string>
</dict>
</plist>