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/checkers.app/Contents/Info.plist | 47 --------------------- test/checkers.app/Contents/PkgInfo | 1 - test/checkers.app/Contents/Resources/checkers.icns | Bin 61235 -> 0 bytes 3 files changed, 48 deletions(-) delete mode 100644 test/checkers.app/Contents/Info.plist delete mode 100644 test/checkers.app/Contents/PkgInfo delete mode 100644 test/checkers.app/Contents/Resources/checkers.icns (limited to 'test/checkers.app/Contents') diff --git a/test/checkers.app/Contents/Info.plist b/test/checkers.app/Contents/Info.plist deleted file mode 100644 index 4929602ca..000000000 --- a/test/checkers.app/Contents/Info.plist +++ /dev/null @@ -1,47 +0,0 @@ - - - - CFBundleInfoDictionaryVersion - 6.0 - - CFBundleExecutable - checkers - - CFBundleIdentifier - org.fltk.checkers - - CFBundleVersion - 1.0 - - CFBundleDevelopmentRegion - English - - NSHumanReadableCopyright - Copyright 1997-2010 by Bill Spitzak and others - - CFAppleHelpAnchor - help - - CFBundleName - checkers - - CFBundlePackageType - APPL - - CFBundleSignature - FLSU - - CFBundleIconFile - checkers.icns - - CFBundleShortVersionString - 1.0 - - CFBundleGetInfoString - 1.0, Copyright 1997-2010 by Bill Spitzak and others - - NSHighResolutionCapable - - - - diff --git a/test/checkers.app/Contents/PkgInfo b/test/checkers.app/Contents/PkgInfo deleted file mode 100644 index 5af7226a1..000000000 --- a/test/checkers.app/Contents/PkgInfo +++ /dev/null @@ -1 +0,0 @@ -FLSUFlsu diff --git a/test/checkers.app/Contents/Resources/checkers.icns b/test/checkers.app/Contents/Resources/checkers.icns deleted file mode 100644 index 5bdec121c..000000000 Binary files a/test/checkers.app/Contents/Resources/checkers.icns and /dev/null differ -- cgit v1.2.3