Application Bundle: use CFBundleTypeExtensions (plural) instead of CFBundleTypeExtension as Phil J. Hess pointed

git-svn-id: trunk@14625 -
This commit is contained in:
tombo 2008-03-24 09:41:16 +00:00
parent 0d7e938c96
commit d1a22ad097
3 changed files with 56 additions and 48 deletions

View File

@ -81,8 +81,10 @@ procedure CreateMacOSXApplicationResources(const Filename,
sl.Add(' <dict>');
sl.Add(' <key>CFBundleTypeRole</key>');
sl.Add(' <string>Viewer</string>');
sl.Add(' <key>CFBundleTypeExtension</key>');
sl.Add(' <string>*</string>');
sl.Add(' <key>CFBundleTypeExtensions</key>');
sl.Add(' <array>');
sl.Add(' <string>*</string>');
sl.Add(' </array>');
sl.Add(' <key>CFBundleTypeOSTypes</key>');
sl.Add(' <array>');
sl.Add(' <string>fold</string>');

View File

@ -106,8 +106,10 @@ begin
Add(' <dict>');
Add(' <key>CFBundleTypeRole</key>');
Add(' <string>Viewer</string>');
Add(' <key>CFBundleTypeExtension</key>');
Add(' <string>*</string>');
Add(' <key>CFBundleTypeExtensions</key>');
Add(' <array>');
Add(' <string>*</string>');
Add(' </array>');
Add(' <key>CFBundleTypeOSTypes</key>');
Add(' <array>');
Add(' <string>fold</string>');

View File

@ -16,8 +16,10 @@
<string>APPL</string>
<key>CFBundleSignature</key>
<string>lazi</string>
<key>CFBundleShortVersionString</key>
<string>Lazarus IDE v0.9.25 beta</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<string>1</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>CFBundleDocumentTypes</key>
@ -25,21 +27,23 @@
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtension</key>
<string>*</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>*</string>
</array>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtension</key>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>pas</string>
<string>pp</string>
<string>inc</string>
<string>inc</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>lazarussource</string>
@ -47,17 +51,17 @@
<string>text/pascal</string>
<key>CFBundleTypeName</key>
<string>public.pascal-source</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtension</key>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>lpr</string>
<string>lpr</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>lazarusproject</string>
@ -65,15 +69,15 @@
<string>text/pascal</string>
<key>CFBundleTypeName</key>
<string>public.lazarus-project-source</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtension</key>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>lpi</string>
</array>
@ -83,15 +87,15 @@
<string>text/xml</string>
<key>CFBundleTypeName</key>
<string>public.lazarus-project-info</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtension</key>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>lpk</string>
</array>
@ -101,15 +105,15 @@
<string>text/xml</string>
<key>CFBundleTypeName</key>
<string>public.lazarus-package-info</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtension</key>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>lfm</string>
</array>
@ -119,10 +123,10 @@
<string>text/plain</string>
<key>CFBundleTypeName</key>
<string>public.lazarus-form-source</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
</dict>
</array>
</dict>