Skip to content

Commit

Permalink
Remove Sparkle 2's XPCServices symlink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ychin committed Feb 15, 2023
1 parent c53718f commit e664b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MacVim/scripts/cleanup-after-build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit e664b07

Please sign in to comment.