summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-rw-r--r--Mac/PythonLauncher/Info.plist.in6
-rw-r--r--Mac/PythonLauncher/doscript.m2
2 files changed, 6 insertions, 2 deletions
diff --git a/Mac/PythonLauncher/Info.plist.in b/Mac/PythonLauncher/Info.plist.in
index 70f215d..dec0a2e 100644
--- a/Mac/PythonLauncher/Info.plist.in
+++ b/Mac/PythonLauncher/Info.plist.in
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
- <string>English</string>
+ <string>en</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
@@ -39,6 +39,8 @@
</array>
<key>CFBundleExecutable</key>
<string>Python Launcher</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2001-2022 Python Software Foundation</string>
<key>CFBundleGetInfoString</key>
<string>%VERSION%, © 2001-2022 Python Software Foundation</string>
<key>CFBundleIconFile</key>
@@ -61,5 +63,7 @@
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
+ <key>NSAppleEventsUsageDescription</key>
+ <string>Python Launcher uses Apple events to launch your Python script in a Terminal window.</string>
</dict>
</plist>
diff --git a/Mac/PythonLauncher/doscript.m b/Mac/PythonLauncher/doscript.m
index cbb783b..f07326b 100644
--- a/Mac/PythonLauncher/doscript.m
+++ b/Mac/PythonLauncher/doscript.m
@@ -19,7 +19,7 @@ doscript(const char *command)
AEDesc desc;
OSStatus err;
- [[NSWorkspace sharedWorkspace] launchApplication:@"/Applications/Utilities/Terminal.app/"];
+ [[NSWorkspace sharedWorkspace] launchApplication:@"Terminal.app"];
// Build event
err = AEBuildAppleEvent(kAECoreSuite, kAEDoScript,