summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2015-07-12 02:52:57 -0400
committerMike Swanson2015-08-24 14:27:01 -0700
commitc6e66393ba5ed91b02f0bfbf7367771ce7ba819c (patch)
tree960e0684cb1a9a1914aff99a775dcb100b5bbcfd
parent7d884d24adff82c020c2663c9142b38ee189ddef (diff)
downloadchocolate-doom-c6e66393ba5ed91b02f0bfbf7367771ce7ba819c.tar.gz
chocolate-doom-c6e66393ba5ed91b02f0bfbf7367771ce7ba819c.tar.bz2
chocolate-doom-c6e66393ba5ed91b02f0bfbf7367771ce7ba819c.zip
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.
-rw-r--r--pkg/osx/Info.plist.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/osx/Info.plist.in b/pkg/osx/Info.plist.in
index 5ea4f323..a648ed8b 100644
--- 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: -->