Skip to content

Commit ab4a3e2

Browse files
authored
Merge pull request #1413 from ychin/sign-dmg-without-sparkle
Make sign-developer-id work if Sparkle is disabled
2 parents 9bae3e4 + e623620 commit ab4a3e2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/MacVim/scripts/sign-developer-id

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ else
3535
codesign -f -s "Developer ID Application" -o runtime --timestamp "$macvim_path/Contents/Frameworks/Sparkle.framework/Versions/B/Autoupdate"
3636
codesign -f -s "Developer ID Application" -o runtime --timestamp "$macvim_path/Contents/Frameworks/Sparkle.framework/Versions/B/Updater.app")
3737
fi
38+
if [ -d $macvim_path/Contents/Frameworks/Sparkle.framework ]; then
39+
(set -x
40+
codesign -f -s "Developer ID Application" -o runtime --timestamp "$macvim_path/Contents/Frameworks/Sparkle.framework")
41+
fi
3842
set -x
39-
codesign -f -s "Developer ID Application" -o runtime --timestamp "$macvim_path/Contents/Frameworks/Sparkle.framework"
4043
codesign -f -s "Developer ID Application" -o runtime --timestamp "$macvim_path/Contents/Frameworks/PSMTabBarControl.framework"
4144
codesign -f -s "Developer ID Application" -o runtime --timestamp "$macvim_path/Contents/Library/QuickLook/QLStephen.qlgenerator/Contents/MacOS/QLStephen"
4245
codesign -f -s "Developer ID Application" -o runtime --timestamp --entitlements $entitlements "$macvim_path/Contents/MacOS/Vim"

0 commit comments

Comments
 (0)