Fixed signing issue

This commit is contained in:
patben8 committed 2026-07-09 14:19:05 +02:00
1 parent bd85d6794c
commit b8b466b608
4 files changed
+28 -5

No files matched your search

+14 -4
View File
@@ -158,10 +158,20 @@ The installers land in `frontend\src-tauri\target\release\bundle\` (an `.msi` an
an NSIS `-setup.exe`). See [BUILDING-WINDOWS.md](BUILDING-WINDOWS.md) for the full
walkthrough and Windows-specific notes.
> **Note:** builds are currently **unsigned**, so the first launch is flagged by
> the OS — on macOS right-click → **Open** to get past Gatekeeper; on Windows
> click **More info → Run anyway** past SmartScreen. The macOS `.dmg` is
> Apple-Silicon (`aarch64`) only.
> **First launch — getting past the OS security prompt.** Builds are
> **ad-hoc signed, not notarized** (no paid Apple/Windows developer cert yet), so
> the OS flags them the first time. This is expected — the app isn't damaged.
>
> - **macOS:** right-click the app → **Open** → **Open** (or System Settings →
> Privacy & Security → **Open Anyway** after the first blocked attempt). If it
> still refuses — common for a `.dmg` downloaded via a browser, which macOS
> quarantines — clear the quarantine flag once from Terminal:
> ```bash
> xattr -cr /Applications/Konduktor.app
> ```
> - **Windows:** click **More info → Run anyway** past SmartScreen.
>
> The macOS `.dmg` is Apple-Silicon (`aarch64`) only.
> **Faster local builds:** `npx tauri build --debug --bundles app` skips the
> optimizer and the installer, giving you a runnable app in seconds — handy while
+10
View File
@@ -11,6 +11,16 @@ PY="${PY:-.venv/bin/python}"
"$PY" -m PyInstaller --noconfirm --clean konduktor-sidecar.spec
echo "Built: $ROOT/dist/konduktor-sidecar"
# macOS: ad-hoc sign the sidecar so the app can spawn it. On Apple Silicon the
# OS kills unsigned executables on exec, and a signed .app (see tauri.conf.json
# bundle.macOS.signingIdentity "-") isn't enough on its own — the nested sidecar
# must be signed too. Ad-hoc (`-s -`) needs no cert/keychain; --force re-signs
# cleanly even if Tauri signs it again during bundling.
if [ "$(uname)" = "Darwin" ] && command -v codesign >/dev/null 2>&1; then
codesign --force -s - "$ROOT/dist/konduktor-sidecar"
echo "Ad-hoc signed: $ROOT/dist/konduktor-sidecar"
fi
# Stage for Tauri: the sidecar must be named with the host target triple so the
# shell plugin can resolve it in both dev and bundle. (rustc must be on PATH.)
if command -v rustc >/dev/null 2>&1; then
+1 -1
View File
@@ -77,7 +77,7 @@ checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
[[package]]
name = "app"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"log",
"serde",
+3
View File
@@ -27,6 +27,9 @@
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"signingIdentity": "-"
},
"android": {
"debugApplicationIdSuffix": ".debug"
}