From c1659a8b95600dbb87bce6b8440159f71b36382e Mon Sep 17 00:00:00 2001 From: David Marmor Date: Tue, 5 Oct 2021 09:29:07 -0700 Subject: [PATCH] Fixed Brave sign-matching to be a little more robust to changes in the Brave framework (XPCServices have been removed, which broke sign-matching). --- app/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Makefile b/app/Makefile index 520313c..a3bfa25 100644 --- a/app/Makefile +++ b/app/Makefile @@ -861,10 +861,10 @@ build/engine_tmp/brave: build/engine_tmp/$(BRAVE_SRC) build/engine_tmp/brave_rec echo '*** Unable to find Sparkle.framework' 1>&2 ; false ; fi rm -rf '$(BRAVE_FRAMEWORK)/Versions/Current/Frameworks/Sparkle.framework' xattr -cr build/engine_tmp/brave - scripts/signmatch.sh '' \ + shopt -s nullglob && scripts/signmatch.sh '' \ '$(BRAVE_FRAMEWORK)/Versions/Current/Helpers/'* \ '$(BRAVE_FRAMEWORK)/Versions/Current/Libraries/'*.dylib \ - '$(BRAVE_FRAMEWORK)/Versions/Current/XPCServices/AlertNotificationService.xpc' \ + '$(BRAVE_FRAMEWORK)/Versions/Current/XPCServices/'* \ '$(BRAVE_FRAMEWORK)' #flags="$${opts#*CodeDirectory}" && flags="$${flags%%Signature*}"