]> granicus.if.org Git - transmission/commitdiff
#722 Add UTI support
authorMitchell Livingston <livings124@transmissionbt.com>
Thu, 25 Dec 2008 23:04:41 +0000 (23:04 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Thu, 25 Dec 2008 23:04:41 +0000 (23:04 +0000)
macosx/Info.plist

index f4b0850a06c368b6a6af64506622e69c770d1c19..1cf3e4ec461f5480dbe2c2466d47241345e8813d 100644 (file)
                        </array>
                        <key>CFBundleTypeIconFile</key>
                        <string>TransmissionDocument</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>application/x-bittorrent</string>
+                       </array>
                        <key>CFBundleTypeName</key>
                        <string>BitTorrent Document</string>
+                       <key>CFBundleTypeOSTypes</key>
+                       <array>
+                               <string>TORR</string>
+                       </array>
                        <key>CFBundleTypeRole</key>
                        <string>Viewer</string>
+                       <key>LSItemContentTypes</key>
+                       <array>
+                               <string>org.bittorrent.torrent</string>
+                       </array>
                        <key>LSTypeIsPackage</key>
                        <false/>
                        <key>NSPersistentStoreTypeKey</key>
        <string>sparkle_dsa_pub.pem</string>
        <key>SUScheduledCheckInterval</key>
        <string>86400</string>
+       <key>UTExportedTypeDeclarations</key>
+       <array>
+               <dict>
+                       <key>UTTypeIdentifier</key>
+                       <string>org.bittorrent.torrent</string>
+                       <key>UTTypeReferenceURL</key>
+                       <string>http://www.bittorrent.org/beps/bep_0000.html</string>
+                       <key>UTTypeDescription</key>
+                       <string>BitTorrent Document</string>
+                       <key>UTTypeIconFile</key>
+                       <string>TransmissionDocument</string>
+                       <key>UTTypeConformsTo</key>
+                       <array>
+                               <string>public.data</string>
+                               <string>public.item</string>
+                               <string>com.bittorrent.torrent</string>
+                       </array>
+                       <key>UTTypeTagSpecification</key>
+                       <dict>
+                               <key>com.apple.ostype</key>
+                               <string>TORR</string>
+                               <key>public.filename-extension</key>
+                               <array>
+                                       <string>torrent</string>
+                               </array>
+                               <key>public.mime-type</key>
+                               <string>application/x-bittorrent</string>
+                       </dict>
+               </dict>
+       </array>
 </dict>
 </plist>