fix: Mac desktop updater — v0.1.2 with signed pubkey; clearer errors

Rebuild dmg with real updater.pub. Improve check failure messages and
fix publish signing when TAURI_SIGNING_PRIVATE_KEY is set.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 11:55:03 +09:00
parent e79f028148
commit eae4ccd4c6
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -52,6 +52,7 @@ if [[ -f "$KEY_PATH" ]]; then
[[ -f "$bundle" ]] || continue
[[ "$bundle" == *.sig ]] && continue
log "Signing $(basename "$bundle")"
unset TAURI_SIGNING_PRIVATE_KEY TAURI_SIGNING_PRIVATE_KEY_PASSWORD 2>/dev/null || true
(cd "$DESKTOP_DIR" && npx tauri signer sign -f "$KEY_PATH" -p "${TAURI_SIGNING_PRIVATE_KEY_PASSWORD-}" "$bundle")
done
shopt -u nullglob