-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly codesign Mac app for Catalina (#869)
- Loading branch information
Showing
4 changed files
with
105 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import os.path | ||
|
||
# .. Useful stuff .............................................................. | ||
|
||
application = 'PolyGlot.app' | ||
appname = os.path.basename(application) | ||
|
||
# .. Basics .................................................................... | ||
|
||
# Volume format (see hdiutil create -help) | ||
format = 'UDZO' | ||
|
||
# Volume size | ||
size = None | ||
|
||
# Files to include | ||
files = [ application ] | ||
|
||
# Symlinks to create | ||
symlinks = { 'Applications': '/Applications' } | ||
|
||
# Where to put the icons | ||
icon_locations = { | ||
appname: (180, 170), | ||
'Applications': (480, 170) | ||
} | ||
|
||
# .. Window configuration ...................................................... | ||
|
||
# Background | ||
background = 'packaging_files/mac/dmg-background.tiff' | ||
|
||
# Window position in ((x, y), (w, h)) format | ||
window_rect = ((100, 100), (660, 400)) | ||
|
||
# .. Icon view configuration ................................................... | ||
|
||
icon_size = 160 | ||
|
||
# .. License configuration ..................................................... | ||
|
||
license = { 'licenses': { 'en_US': 'LICENSE.TXT' } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?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>com.apple.security.cs.allow-jit</key> | ||
<true/> | ||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key> | ||
<true/> | ||
<key>com.apple.security.cs.disable-executable-page-protection</key> | ||
<true/> | ||
<key>com.apple.security.cs.allow-dyld-environment-variables</key> | ||
<true/> | ||
<key>com.apple.security.cs.disable-library-validation</key> | ||
<true/> | ||
</dict> | ||
</plist> |