From caa02925dee43a7dd3cd14e8facb75c7580693a6 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Thu, 22 Aug 2019 08:33:44 +0200 Subject: [PATCH] MacGui: update sign script to sign the new xpc service. --- macosx/hbsign | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macosx/hbsign b/macosx/hbsign index 6a1ebd546..5fe4696fd 100755 --- a/macosx/hbsign +++ b/macosx/hbsign @@ -109,6 +109,7 @@ for TARGET in "${@}"; do done echo " Signing XPC Services" + sign "${TARGET}"/Contents/XPCServices/HandBrakeXPCService.xpc fr.handbrake.HandBrake sign "${TARGET}"/Contents/XPCServices/org.sparkle-project.Downloader.xpc org.sparkle-project.Downloader sign "${TARGET}"/Contents/XPCServices/org.sparkle-project.InstallerConnection.xpc org.sparkle-project.InstallerConnection sign "${TARGET}"/Contents/XPCServices/org.sparkle-project.InstallerLauncher.xpc org.sparkle-project.InstallerLauncher @@ -127,6 +128,7 @@ for TARGET in "${@}"; do codesign --verify -vv "${TARGET}"/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/Updater.app >>"${LOG}" 2>&1 || exit_with_error 1 "Validation failed. More info may be available in ${NAME}.log" echo " Validating XPC Services" + codesign --verify -vv "${TARGET}"/Contents/XPCServices/HandBrakeXPCService.xpc >>"${LOG}" 2>&1 || exit_with_error 1 "Validation failed. More info may be available in ${NAME}.log" codesign --verify -vv "${TARGET}"/Contents/XPCServices/org.sparkle-project.Downloader.xpc >>"${LOG}" 2>&1 || exit_with_error 1 "Validation failed. More info may be available in ${NAME}.log" codesign --verify -vv "${TARGET}"/Contents/XPCServices/org.sparkle-project.InstallerConnection.xpc >>"${LOG}" 2>&1 || exit_with_error 1 "Validation failed. More info may be available in ${NAME}.log" codesign --verify -vv "${TARGET}"/Contents/XPCServices/org.sparkle-project.InstallerLauncher.xpc >>"${LOG}" 2>&1 || exit_with_error 1 "Validation failed. More info may be available in ${NAME}.log" -- 2.40.0