mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
0b81911d76
This patch adds a CFBundleGitRevision key to Info.plist which is set to the output of "git describe" when building. The menu-entry for "About GitX" was reconnected to a custom method in the AppController, which reads the CF-string from the .plist and also indicates if the build is a DEBUG-build. Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
92 lines
2.2 KiB
Plaintext
92 lines
2.2 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>English</string>
|
|
<key>CFBundleName</key>
|
|
<string>${PRODUCT_NAME}</string>
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeName</key>
|
|
<string>Folder</string>
|
|
<key>CFBundleTypeOSTypes</key>
|
|
<array>
|
|
<string>fold</string>
|
|
</array>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
</dict>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>git</string>
|
|
<string></string>
|
|
</array>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>gitx.icns</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>Git Repository</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
<key>LSTypeIsPackage</key>
|
|
<true/>
|
|
<key>NSDocumentClass</key>
|
|
<string>PBGitRepository</string>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundleExecutable</key>
|
|
<string>${EXECUTABLE_NAME}</string>
|
|
<key>CFBundleIconFile</key>
|
|
<string>gitx.icns</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>nl.frim.GitX</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
<key>CFBundleSignature</key>
|
|
<string>????</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>LONG_VERSION</string>
|
|
<key>CFBundleGitVersion</key>
|
|
<string>GIT_VERSION</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>SHORT_VERSION</string>
|
|
<key>NSMainNibFile</key>
|
|
<string>MainMenu</string>
|
|
<key>NSPrincipalClass</key>
|
|
<string>NSApplication</string>
|
|
<key>SUFeedURL</key>
|
|
<string>http://gitx.frim.nl/Downloads/appcast.xml</string>
|
|
<key>NSServices</key>
|
|
<array>
|
|
<dict>
|
|
<key>NSKeyEquivalent</key>
|
|
<dict>
|
|
<key>default</key>
|
|
<string>&</string>
|
|
</dict>
|
|
<key>NSPortName</key>
|
|
<string>GitX</string>
|
|
<key>NSReturnTypes</key>
|
|
<array>
|
|
<string>NSStringPboardType</string>
|
|
</array>
|
|
<key>NSSendTypes</key>
|
|
<array>
|
|
<string>NSStringPboardType</string>
|
|
</array>
|
|
<key>NSMessage</key>
|
|
<string>completeSha</string>
|
|
<key>NSMenuItem</key>
|
|
<dict>
|
|
<key>default</key>
|
|
<string>Complete SHA1</string>
|
|
</dict>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
</plist>
|