Add version generation and display
The control center version includes versions of the bundled ndn-cxx,
NFD, and ndn-tools. The implementation is a bit hacky and most of the
the logic should be moved to the build script eventually.
Change-Id: Ie5f33c62f5e35a6a727c038ca0a3e03385dbd7db
diff --git a/src/Info.plist.in b/src/Info.plist.in
new file mode 100644
index 0000000..a373b29
--- /dev/null
+++ b/src/Info.plist.in
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>NFD Control Center</string>
+ <key>CFBundleIconFile</key>
+ <string>ndn_app.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>net.named-data.control-center</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>NFD Control Center</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleShortVersionString</key>
+ <string>@VERSION@</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>10.6</string>
+ <key>CFBundleVersion</key>
+ <string>@VERSION@</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>NSHighResolutionCapable</key>
+ <string>True</string>
+ <key>LSUIElement</key>
+ <string>1</string>
+ <key>SUFeedURL</key>
+ <string>@APPCAST@</string>
+ <key>SUPublicDSAKeyFile</key>
+ <string>ndn_sparkle_pub.pem</string>
+</dict>
+</plist>