diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-05-13 16:16:50 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-05-13 16:18:13 +0200 |
| commit | 773467dee4e79e0dfd97c5ee98fc253dead3302c (patch) | |
| tree | 9ac93d67a1ed19257de461aa0089b4b521ed7c69 /test/mac-resources | |
| parent | 64296707d9e9b38dd9addf655f9b0943a4c54a54 (diff) | |
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
Diffstat (limited to 'test/mac-resources')
| -rw-r--r-- | test/mac-resources/blocks.icns | bin | 0 -> 51049 bytes | |||
| -rw-r--r-- | test/mac-resources/blocks.plist | 47 | ||||
| -rw-r--r-- | test/mac-resources/checkers.icns | bin | 0 -> 61235 bytes | |||
| -rw-r--r-- | test/mac-resources/checkers.plist | 47 | ||||
| -rw-r--r-- | test/mac-resources/editor.plist | 43 | ||||
| -rw-r--r-- | test/mac-resources/sudoku.icns | bin | 0 -> 34921 bytes | |||
| -rw-r--r-- | test/mac-resources/sudoku.plist | 47 |
7 files changed, 184 insertions, 0 deletions
diff --git a/test/mac-resources/blocks.icns b/test/mac-resources/blocks.icns Binary files differnew file mode 100644 index 000000000..7e7ba24eb --- /dev/null +++ b/test/mac-resources/blocks.icns 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<plist version="0.9"> + <dict> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + + <key>CFBundleExecutable</key> + <string>blocks</string> + + <key>CFBundleIdentifier</key> + <string>org.fltk.blocks</string> + + <key>CFBundleVersion</key> + <string>1.0</string> + + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + + <key>NSHumanReadableCopyright</key> + <string>Copyright 2006-2021 by Michael Sweet</string> + + <key>CFAppleHelpAnchor</key> + <string>help</string> + + <key>CFBundleName</key> + <string>blocks</string> + + <key>CFBundlePackageType</key> + <string>APPL</string> + + <key>CFBundleSignature</key> + <string>BLKS</string> + + <key>CFBundleIconFile</key> + <string>blocks.icns</string> + + <key>CFBundleShortVersionString</key> + <string>1.0</string> + + <key>CFBundleGetInfoString</key> + <string>1.0, Copyright 2006-2021 by Michael Sweet</string> + + <key>NSHighResolutionCapable</key> + <true/> + + </dict> +</plist> diff --git a/test/mac-resources/checkers.icns b/test/mac-resources/checkers.icns Binary files differnew file mode 100644 index 000000000..5bdec121c --- /dev/null +++ b/test/mac-resources/checkers.icns diff --git a/test/mac-resources/checkers.plist b/test/mac-resources/checkers.plist new file mode 100644 index 000000000..66ec8d1e9 --- /dev/null +++ b/test/mac-resources/checkers.plist @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<plist version="0.9"> + <dict> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + + <key>CFBundleExecutable</key> + <string>checkers</string> + + <key>CFBundleIdentifier</key> + <string>org.fltk.checkers</string> + + <key>CFBundleVersion</key> + <string>1.0</string> + + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + + <key>NSHumanReadableCopyright</key> + <string>Copyright 1997-2021 by Bill Spitzak and others</string> + + <key>CFAppleHelpAnchor</key> + <string>help</string> + + <key>CFBundleName</key> + <string>checkers</string> + + <key>CFBundlePackageType</key> + <string>APPL</string> + + <key>CFBundleSignature</key> + <string>FLCK</string> + + <key>CFBundleIconFile</key> + <string>checkers.icns</string> + + <key>CFBundleShortVersionString</key> + <string>1.0</string> + + <key>CFBundleGetInfoString</key> + <string>1.0, Copyright 1997-2021 by Bill Spitzak and others</string> + + <key>NSHighResolutionCapable</key> + <true/> + + </dict> +</plist> diff --git a/test/mac-resources/editor.plist b/test/mac-resources/editor.plist new file mode 100644 index 000000000..6324e5cf2 --- /dev/null +++ b/test/mac-resources/editor.plist @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleDocumentTypes</key> + <array> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>*</string> + </array> + <key>CFBundleTypeName</key> + <string>AllFiles</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSTypeIsPackage</key> + <false/> + <key>NSPersistentStoreTypeKey</key> + <string>XML</string> + </dict> + </array> + <key>CFBundleExecutable</key> + <string>editor</string> + <key>CFBundleGetInfoString</key> + <string>Part of the FLTK library. Please visit www.fltk.org.</string> + <key>CFBundleIdentifier</key> + <string>org.fltk.editor</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>FLTK</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSHumanReadableCopyright</key> + <string>Copyright 1998-2021 by Bill Spitzak and others.</string> + <key>NSHighResolutionCapable</key> + <true/> +</dict> +</plist> diff --git a/test/mac-resources/sudoku.icns b/test/mac-resources/sudoku.icns Binary files differnew file mode 100644 index 000000000..abbe75ef0 --- /dev/null +++ b/test/mac-resources/sudoku.icns diff --git a/test/mac-resources/sudoku.plist b/test/mac-resources/sudoku.plist new file mode 100644 index 000000000..058382811 --- /dev/null +++ b/test/mac-resources/sudoku.plist @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<plist version="0.9"> + <dict> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + + <key>CFBundleExecutable</key> + <string>sudoku</string> + + <key>CFBundleIdentifier</key> + <string>org.fltk.sudoku</string> + + <key>CFBundleVersion</key> + <string>1.0</string> + + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + + <key>NSHumanReadableCopyright</key> + <string>Copyright 2005-2021 by Michael Sweet</string> + + <key>CFAppleHelpAnchor</key> + <string>help</string> + + <key>CFBundleName</key> + <string>sudoku</string> + + <key>CFBundlePackageType</key> + <string>APPL</string> + + <key>CFBundleSignature</key> + <string>FLSU</string> + + <key>CFBundleIconFile</key> + <string>sudoku.icns</string> + + <key>CFBundleShortVersionString</key> + <string>1.0</string> + + <key>CFBundleGetInfoString</key> + <string>1.0, Copyright 2005-2021 by Michael Sweet</string> + + <key>NSHighResolutionCapable</key> + <true/> + + </dict> +</plist> |
