DMG-Bundle im Build (CI=true wegen TCC-blockiertem Finder-AppleScript); README: Installation mit Quarantäne-Hinweis, xattr-Befehl und Sponsoring-Bemerkung zur fehlenden Signierung

This commit is contained in:
marcus.hinz
2026-07-05 16:02:02 +02:00
parent 438ee69f90
commit f83231af10
2 changed files with 15 additions and 1 deletions
+10
View File
@@ -59,6 +59,16 @@ Running projects are detected through their terminal processes (`pgrep` for `--t
| macOS | objc2 / objc2-app-kit (Dock icon, window focus, tray) |
| Secrets | keyring (macOS Keychain) |
## Installation
Prebuilt DMGs are attached to the releases. The bundles are **not signed or notarized** — an Apple Developer ID costs €99/year, which this project doesn't have (if you'd like to change that, sponsoring is welcome). macOS therefore quarantines the download; after copying `ai-control.app` to `~/Applications`, clear it with:
```sh
xattr -d com.apple.quarantine ~/Applications/ai-control.app
```
Or avoid the topic entirely and build from source (below) — self-built apps aren't quarantined.
## Development
```sh
+5 -1
View File
@@ -8,7 +8,9 @@ export RUSTUP_HOME="$HOME/tools/.rustup"
export PATH="$CARGO_HOME/bin:$PATH"
cd "$DIR"
npm run tauri build -- --bundles app "$@"
# CI=true: DMG ohne Finder-AppleScript (Fenster-Layout) bauen — das Script
# wäre aus Nicht-GUI-Shells TCC-blockiert.
CI=true npm run tauri build -- --bundles app,dmg "$@"
# Dev-Bundle in ein .noindex-Verzeichnis schieben und aus Launch Services
# austragen — Spotlight indiziert .noindex-Ordner nicht, damit erscheint im
@@ -23,3 +25,5 @@ rm -rf "$NOINDEX/ai-control.app"
mkdir -p "$NOINDEX"
mv "$BUNDLE/ai-control.app" "$NOINDEX/"
"$LSREGISTER" -u "$NOINDEX/ai-control.app" || true
echo "DMG: $(ls "$DIR"/src-tauri/target/release/bundle/dmg/*.dmg)"