Skip to content

armgit / kokon

Public Imported from GitHub
0

Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.

Ship the Mac beta ad-hoc signed; document unsigned distribution

Gabriele Lozupone94fbf7a9528e
diff --git a/docs/platforms.md b/docs/platforms.md
index 43fe89e..5eb2915 100644
--- a/docs/platforms.md
+++ b/docs/platforms.md
@@ -99,9 +99,19 @@ so nobody with a base chip is surprised.
- Tauri sidecar names and the `.exe` suffix;
- data folders (`dirs` already maps them to `~/Library/...`).
4. Packaging (todo; `tauri.macos.conf.json` prepared): a GitHub Actions `macos-14` (arm64) runner builds the `.dmg`. Without an Apple
- Developer ID ($99/year) the app is unsigned, so users must right-click → Open the first
- time. The engine itself, downloaded by the app over HTTP, carries no quarantine flag and
- runs, because it is ad-hoc signed.
+ Developer ID ($99/year) the app is unsigned. Since macOS 15, right-click → Open no longer
+ bypasses Gatekeeper: users must try to open it, then go to System Settings → Privacy &
+ Security → *Open Anyway*. Signing + notarization removes that step. The signature shows
+ the developer account's **team name** (individual: the holder's name; organization: its
+ legal name), so the account should be one whose name Kokon is meant to carry. The engine
+ itself, downloaded by the app over HTTP, carries no quarantine flag and runs, because it
+ is ad-hoc signed.
+ **Decision 2026-10-09:** the shared Developer Program membership has expired, so the Mac beta
+ ships ad-hoc signed (`signingIdentity: "-"`, free): a DMG with "Open Anyway" instructions
+ (with a screenshot), plus a one-line `curl … | bash` installer (curl downloads carry no
+ quarantine flag, so no warning). Homebrew's official tap requires apps that pass
+ Gatekeeper, so it is not an option. Revisit a personal $99 Developer ID if the Mac
+ audience is large.
5. Known Metal issue: transparent (RGBA) output decodes as white (#2024, fix not merged).
Kokon outputs RGB, so only transparency-preserving edits are affected.
6. Testing: needs a real Apple Silicon Mac with 24 GB+ (GitHub's runners have 7 GB: build
diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.json
index 304f0a5..5c43761 100644
--- a/src-tauri/tauri.macos.conf.json
+++ b/src-tauri/tauri.macos.conf.json
@@ -2,6 +2,6 @@
"bundle": {
"targets": ["app", "dmg"],
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns"],
- "macOS": { "minimumSystemVersion": "26.0" }
+ "macOS": { "minimumSystemVersion": "26.0", "signingIdentity": "-" }
}
}