desktop 다운로드 수정
This commit is contained in:
@@ -41,3 +41,15 @@ else
|
||||
unset TAURI_SIGNING_PRIVATE_KEY 2>/dev/null || true
|
||||
echo "[prepare-tauri-build] updater signing skipped (no key)"
|
||||
fi
|
||||
|
||||
# macOS: ad-hoc codesign by default (Apple Silicon requires signing).
|
||||
# Override with Developer ID for production: export APPLE_SIGNING_IDENTITY="Developer ID Application: ..."
|
||||
# Notarization (optional): APPLE_ID, APPLE_PASSWORD, APPLE_TEAM_ID or APPLE_API_KEY*
|
||||
if [[ "$(uname -s)" == "Darwin" ]]; then
|
||||
: "${APPLE_SIGNING_IDENTITY:=-}"
|
||||
export APPLE_SIGNING_IDENTITY
|
||||
echo "[prepare-tauri-build] APPLE_SIGNING_IDENTITY=${APPLE_SIGNING_IDENTITY}"
|
||||
if [[ -n "${APPLE_ID:-}" && -n "${APPLE_TEAM_ID:-}" ]]; then
|
||||
echo "[prepare-tauri-build] Apple notarization env detected — tauri will notarize if credentials are valid"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user