From 773467dee4e79e0dfd97c5ee98fc253dead3302c Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 13 May 2021 16:16:50 +0200 Subject: Refactor macOS bundle generation to avoid "quarantine" macOS Big Sur 11.3 introduced a new "security feature" such that app bundles created from existing bundle templates in downloaded files (tar distibutions, expanded) could no longer be executed without unsetting the "quarantine" attribute. This commit fixes this by creating all bundles from scratch. Known *workaround* for older tarballs and snapshots: $ xattr -d -r com.apple.quarantine xxx.app --- test/mac-resources/blocks.plist | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 test/mac-resources/blocks.plist (limited to 'test/mac-resources/blocks.plist') diff --git a/test/mac-resources/blocks.plist b/test/mac-resources/blocks.plist new file mode 100644 index 000000000..bb256be62 --- /dev/null +++ b/test/mac-resources/blocks.plist @@ -0,0 +1,47 @@ + + + + CFBundleInfoDictionaryVersion + 6.0 + + CFBundleExecutable + blocks + + CFBundleIdentifier + org.fltk.blocks + + CFBundleVersion + 1.0 + + CFBundleDevelopmentRegion + English + + NSHumanReadableCopyright + Copyright 2006-2021 by Michael Sweet + + CFAppleHelpAnchor + help + + CFBundleName + blocks + + CFBundlePackageType + APPL + + CFBundleSignature + BLKS + + CFBundleIconFile + blocks.icns + + CFBundleShortVersionString + 1.0 + + CFBundleGetInfoString + 1.0, Copyright 2006-2021 by Michael Sweet + + NSHighResolutionCapable + + + + -- cgit v1.2.3