From fc8b1befbfe438d8e86e04a15982a54b72bcda5d Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Wed, 15 Feb 2023 10:07:41 -0800 Subject: [PATCH] Remove Sparkle 2's XPCServices symlink We are already removing the XPCServices folder in Sparkle 2 because it's unnecessary for us, but there's a top-level symlink that still refers to the folder, and its existence could potentially break automated scripts and whatnot. Just clean it up and remove it as well in the cleanup script. Fix #1366 --- src/MacVim/scripts/cleanup-after-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MacVim/scripts/cleanup-after-build b/src/MacVim/scripts/cleanup-after-build index b7ed0240ef..24009263f1 100755 --- a/src/MacVim/scripts/cleanup-after-build +++ b/src/MacVim/scripts/cleanup-after-build @@ -11,6 +11,7 @@ set -e macvim_path=$1 +sparkle_xpcservices_symlink="$macvim_path/Contents/Frameworks/Sparkle.framework/XPCServices" sparkle_xpcservices="$macvim_path/Contents/Frameworks/Sparkle.framework/Versions/Current/XPCServices" if [ -d "$sparkle_xpcservices" ]; then @@ -19,4 +20,5 @@ if [ -d "$sparkle_xpcservices" ]; then # otherwise. See https://sparkle-project.org/documentation/sandboxing/. set -x rm -rf "$sparkle_xpcservices" + rm "$sparkle_xpcservices_symlink" fi