Skip to content

Commit 2d1c295

Browse files
committed
v0.2.2: fix malformed ad-hoc signature on macOS DMG
Set bundle.macOS.signingIdentity = "-" so Tauri runs codesign --force --deep after assembling the .app, properly sealing Resources/ and Info.plist. Before: linker-only signature, "Sealed Resources=none", spctl rejected with "code has no resources but signature indicates they must be present" — Mac users got the harshest "MDHero is damaged" Gatekeeper dialog and couldn't work around it with right-click → Open. After: proper ad-hoc signature with Sealed Resources v2 (verified locally via codesign -dv + codesign --verify --deep --strict). Gatekeeper still rejects (no Developer ID; that requires the $99/yr Apple Developer Program) but with the friendlier "Apple cannot verify..." dialog that *does* allow the right-click → Open workaround.
1 parent 07679a4 commit 2d1c295

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdhero",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "",
55
"type": "module",
66
"scripts": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mdhero"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "A Tauri App"
55
authors = ["you"]
66
edition = "2021"

src-tauri/tauri.conf.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "MDHero",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"identifier": "com.mdhero.app",
66
"build": {
77
"beforeDevCommand": "pnpm dev",
@@ -40,7 +40,10 @@
4040
"mimeType": "text/markdown",
4141
"description": "Markdown Document"
4242
}
43-
]
43+
],
44+
"macOS": {
45+
"signingIdentity": "-"
46+
}
4447
},
4548
"plugins": {
4649
"cli": {

0 commit comments

Comments
 (0)