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/blocks.app/Contents/Info.plist | 47 ------------------------- test/blocks.app/Contents/PkgInfo | 1 - test/blocks.app/Contents/Resources/blocks.icns | Bin 51049 -> 0 bytes 3 files changed, 48 deletions(-) delete mode 100644 test/blocks.app/Contents/Info.plist delete mode 100644 test/blocks.app/Contents/PkgInfo delete mode 100644 test/blocks.app/Contents/Resources/blocks.icns (limited to 'test/blocks.app') diff --git a/test/blocks.app/Contents/Info.plist b/test/blocks.app/Contents/Info.plist deleted file mode 100644 index 9448901b6..000000000 --- a/test/blocks.app/Contents/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - CFBundleInfoDictionaryVersion - 6.0 - - CFBundleExecutable - blocks - - CFBundleIdentifier - com.easysw.blocks - - CFBundleVersion - 1.0 - - CFBundleDevelopmentRegion - English - - NSHumanReadableCopyright - Copyright 2006 by Michael Sweet - - CFAppleHelpAnchor - help - - CFBundleName - blocks - - CFBundlePackageType - APPL - - CFBundleSignature - BLKS - - CFBundleIconFile - blocks.icns - - CFBundleShortVersionString - 1.0 - - CFBundleGetInfoString - 1.0, Copyright 2006 by Michael Sweet - - NSHighResolutionCapable - - - - diff --git a/test/blocks.app/Contents/PkgInfo b/test/blocks.app/Contents/PkgInfo deleted file mode 100644 index 103810afb..000000000 --- a/test/blocks.app/Contents/PkgInfo +++ /dev/null @@ -1 +0,0 @@ -BLKSBlks diff --git a/test/blocks.app/Contents/Resources/blocks.icns b/test/blocks.app/Contents/Resources/blocks.icns deleted file mode 100644 index 7e7ba24eb..000000000 Binary files a/test/blocks.app/Contents/Resources/blocks.icns and /dev/null differ -- cgit v1.2.3