Kaydet (Commit) 5e2492b9 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use correct CFBundleExecutable in the Info.plist for Python.app

The Python build machinery apparently does not use proper autoconfigury to
expand this Info.plist.in file, so can't use @PYTHONFRAMEWORK@ as for the
Info.plist for the framework itself, but have to hardcode LibreOfficePython.

As such I am not sure that Python's way of including an app bundle
inside a framework's Resources subtree is acceptable in the stricter
code signing and Gatekeeper rules that soon will be in effect. Will
see.

Change-Id: I1ef9e7b748d41ec4b32d80e721d5fba5e7a90d18
üst 5398664e
...@@ -72,3 +72,14 @@ no /usr/include. ...@@ -72,3 +72,14 @@ no /usr/include.
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>Python Runtime and Library</string> <string>Python Runtime and Library</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
--- python3/Mac/Resources/app/Info.plist.in
+++ python3/Mac/Resources/app/Info.plist.in
@@ -18,7 +18,7 @@
</dict>
</array>
<key>CFBundleExecutable</key>
- <string>Python</string>
+ <string>LibreOfficePython</string>
<key>CFBundleGetInfoString</key>
<string>%version%, (c) 2004-2013 Python Software Foundation.</string>
<key>CFBundleHelpBookFolder</key>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment