shithub: choc

Download patch

ref: 628e1e152b0d683917e4c55c2f5300a2d252edfd
parent: 41f216bc13d3ad9788ab318a07928d3ae3e100d1
author: Simon Howard <[email protected]>
date: Sat Jul 11 22:52:57 EDT 2015

osx: Add CFBundleIdentifier to Info.plist.

The preferences for the OS X launcher are currently stored in a file
ambiguously named "launcher.plist" that could conflict with any other
app on the system that chose to use the same moniker. Use the more
specific identifier of org.chocolate-doom.launcher to avoid conflicts.

Also set NSHumanReadableCopyright so that we get more detail on the
"About" window in the launcher app.

This fixes #570. Thanks to Xeriphas1994 for the suggestion to tweak
the identifier.

--- a/pkg/osx/Info.plist.in
+++ b/pkg/osx/Info.plist.in
@@ -2,6 +2,8 @@
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
+        <key>CFBundleIdentifier</key>
+        <string>org.chocolate-doom.launcher</string>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>English</string>
 	<key>CFBundleDisplayName</key>
@@ -26,6 +28,10 @@
 	<string>NSApplication</string>
 	<key>NSMainNibFile</key>
 	<string>launcher</string>
+        <key>NSHumanReadableCopyright</key>
+        <string>Copyright (C) 1993-2015, id Software and Raven Software, Simon Howard, James Haley, Samuel Villarreal and other contributors.
+
+Licensed under the GNU GPL v2.</string>
 
         <!-- file associations: -->