plist to be added into the macos bundle to allow the direct loading between finder and meshlab

This commit is contained in:
Paolo Cignoni cignoni 2008-02-10 15:23:48 +00:00
parent 8ea295d8a5
commit c414d53124
2 changed files with 81 additions and 0 deletions

75
src/install/Info.plist Normal file
View File

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-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>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>obj</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>meshlab_obj.icns</string>
<key>CFBundleTypeName</key>
<string>OBJ 3D file</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>OBJ </string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<string>Yes</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>stl</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>meshlab_obj.icns</string>
<key>CFBundleTypeName</key>
<string>STL 3D file</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>STL </string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<string>Yes</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ply</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>meshlab_obj.icns</string>
<key>CFBundleTypeName</key>
<string>PLY 3D file</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>PLY </string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<string>Yes</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>meshlab</string>
<key>CFBundleGetInfoString</key>
<string>MeshLab VCG-ISTI-CNR</string>
<key>CFBundleIconFile</key>
<string>meshlab.icns</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>NOTE</key>
<string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
</dict>
</plist>

View File

@ -58,6 +58,12 @@ RESOURCES = meshlab.qrc
# to add windows icon
RC_FILE = meshlab.rc
### the xml info list
### the next time the app open a new extension
QMAKE_INFO_PLIST = ../install/info.plist
# to add MacOS icon
ICON = images/meshlab.icns