mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Fixed signing issue
This commit is contained in:
1 parent
bd85d6794c
commit
b8b466b608
4 files changed
+28
-5
No files matched your search
@@ -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
|
an NSIS `-setup.exe`). See [BUILDING-WINDOWS.md](BUILDING-WINDOWS.md) for the full
|
||||||
walkthrough and Windows-specific notes.
|
walkthrough and Windows-specific notes.
|
||||||
|
|
||||||
> **Note:** builds are currently **unsigned**, so the first launch is flagged by
|
> **First launch — getting past the OS security prompt.** Builds are
|
||||||
> the OS — on macOS right-click → **Open** to get past Gatekeeper; on Windows
|
> **ad-hoc signed, not notarized** (no paid Apple/Windows developer cert yet), so
|
||||||
> click **More info → Run anyway** past SmartScreen. The macOS `.dmg` is
|
> the OS flags them the first time. This is expected — the app isn't damaged.
|
||||||
> Apple-Silicon (`aarch64`) only.
|
>
|
||||||
|
> - **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
|
> **Faster local builds:** `npx tauri build --debug --bundles app` skips the
|
||||||
> optimizer and the installer, giving you a runnable app in seconds — handy while
|
> optimizer and the installer, giving you a runnable app in seconds — handy while
|
||||||
|
|||||||
@@ -11,6 +11,16 @@ PY="${PY:-.venv/bin/python}"
|
|||||||
"$PY" -m PyInstaller --noconfirm --clean konduktor-sidecar.spec
|
"$PY" -m PyInstaller --noconfirm --clean konduktor-sidecar.spec
|
||||||
echo "Built: $ROOT/dist/konduktor-sidecar"
|
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
|
# 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.)
|
# shell plugin can resolve it in both dev and bundle. (rustc must be on PATH.)
|
||||||
if command -v rustc >/dev/null 2>&1; then
|
if command -v rustc >/dev/null 2>&1; then
|
||||||
|
|||||||
Generated
+1
-1
@@ -77,7 +77,7 @@ checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "app"
|
name = "app"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"serde",
|
"serde",
|
||||||
|
|||||||
@@ -27,6 +27,9 @@
|
|||||||
"icons/icon.icns",
|
"icons/icon.icns",
|
||||||
"icons/icon.ico"
|
"icons/icon.ico"
|
||||||
],
|
],
|
||||||
|
"macOS": {
|
||||||
|
"signingIdentity": "-"
|
||||||
|
},
|
||||||
"android": {
|
"android": {
|
||||||
"debugApplicationIdSuffix": ".debug"
|
"debugApplicationIdSuffix": ".debug"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user