Skip to content

Commit a19795a

Browse files
heqikaicursoragent
andcommitted
fix(desktop): ad-hoc sign macOS app and document Gatekeeper quarantine
Enable signingIdentity "-" for local/CI builds and clarify that Safari's "damaged" dialog is quarantine on unsigned downloads, not a missing runtime. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent f43acbc commit a19795a

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,15 @@ CodeDelta ships **desktop apps** ([`apps/desktop/`](apps/desktop/)) — Tauri 2
243243
| **Windows** (x64) | Same release → `CodeDelta_*_x64-setup.exe` | NSIS installer |
244244
| macOS mirror | [百度网盘](https://pan.baidu.com/s/1FQxOgNHyvU1Y5EB34RpogQ?pwd=frog) · 提取码: `frog` | |
245245

246-
**Install (macOS):** open the dmg → drag **CodeDelta** to Applications. If blocked: `xattr -cr /Applications/CodeDelta.app`
246+
**Install (macOS):** open the dmg → drag **CodeDelta** to Applications.
247+
248+
If macOS says **“is damaged and can’t be opened”** after downloading from GitHub/Safari, that is Gatekeeper quarantine on unsigned apps — the app is not corrupt. Fix:
249+
250+
```bash
251+
xattr -cr /Applications/CodeDelta.app
252+
```
253+
254+
Then open again, or right-click the app → **Open** the first time. (Baidu Netdisk downloads often need the same `xattr` step.)
247255

248256
**Install (Windows):** run the setup `.exe` and follow the wizard.
249257

apps/desktop/src-tauri/tauri.conf.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
],
3939
"resources": ["resources/runtime/"],
4040
"macOS": {
41-
"minimumSystemVersion": "12.0"
41+
"minimumSystemVersion": "12.0",
42+
"signingIdentity": "-"
4243
},
4344
"windows": {
4445
"nsis": {

0 commit comments

Comments
 (0)