From f83231af10ce2355545a3cb17dde87736f13365a Mon Sep 17 00:00:00 2001 From: "marcus.hinz" Date: Sun, 5 Jul 2026 16:02:02 +0200 Subject: [PATCH] =?UTF-8?q?DMG-Bundle=20im=20Build=20(CI=3Dtrue=20wegen=20?= =?UTF-8?q?TCC-blockiertem=20Finder-AppleScript);=20README:=20Installation?= =?UTF-8?q?=20mit=20Quarant=C3=A4ne-Hinweis,=20xattr-Befehl=20und=20Sponso?= =?UTF-8?q?ring-Bemerkung=20zur=20fehlenden=20Signierung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++++ build.sh | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2cefa6..50b9ebf 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.sh b/build.sh index cc5b202..4d4f876 100755 --- a/build.sh +++ b/build.sh @@ -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)"