Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Build Sparkle's tools without the legacy DSA signing
Țugui Dragoșc5928c8dadad
diff --git a/Scripts/build_sparkle.sh b/Scripts/build_sparkle.shindex d9428a1b..48938bd5 100644--- a/Scripts/build_sparkle.sh+++ b/Scripts/build_sparkle.sh@@ -40,7 +40,18 @@ build_scheme() {build_scheme Sparkle build/SparkleBuild ENABLE_POINTER_AUTHENTICATION=YES \SPARKLE_EMBED_INSTALLER_LAUNCHER_XPC_SERVICE=0 SPARKLE_EMBED_DOWNLOADER_XPC_SERVICE=0++# The tools leave out the legacy DSA signing Peel never used, whose code calls APIs macOS deprecated, the way+# Sparkle's ConfigCommon.xcconfig says: its setting at 0, and its flag out of OTHER_SWIFT_FLAGS_COMMON.+xcconfig="$source/Configurations/ConfigCommon.xcconfig"+dsa_flag=-DGENERATE_APPCAST_BUILD_LEGACY_DSA_SUPPORT+swift_flags=$(sed -n 's/^OTHER_SWIFT_FLAGS_COMMON = //p' "$xcconfig")+if [[ " $swift_flags " != *" $dsa_flag "* ]]; then+ echo "REFUSED: $xcconfig has no $dsa_flag in OTHER_SWIFT_FLAGS_COMMON to leave out."+ exit 1+fifor tool in generate_keys sign_update generate_appcast; do- build_scheme "$tool" build/SparkleTools+ build_scheme "$tool" build/SparkleTools GENERATE_APPCAST_BUILD_LEGACY_DSA_SUPPORT=0 \+ OTHER_SWIFT_FLAGS_COMMON="${swift_flags/$dsa_flag/}"doneecho "Sparkle $version: the framework in build/SparkleBuild, its tools in build/SparkleTools"