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