From e58265b7284db41ec80c2bbd0f219ae592a00c6e Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 19 Nov 2015 17:24:24 +0200 Subject: [PATCH] For the file assosiation in Mac need additionaly export type declaration. --HG-- branch : develop --- dist/macx/tape/Info.plist | 53 ++++++++++++++++++++++-- dist/macx/valentina/Info.plist | 75 +++++++++++++++++++++++++++++++--- 2 files changed, 119 insertions(+), 9 deletions(-) diff --git a/dist/macx/tape/Info.plist b/dist/macx/tape/Info.plist index 9b2067329..4ff7c2383 100755 --- a/dist/macx/tape/Info.plist +++ b/dist/macx/tape/Info.plist @@ -8,6 +8,8 @@ @ICON@ CFBundlePackageType APPL + LSMinimumSystemVersion + 10.6 NSHumanReadableCopyright © 2013-2015, Valentina project CFBundleSignature @@ -17,9 +19,9 @@ CFBundleIdentifier org.valentinaproject.@EXECUTABLE@ CFBundleShortVersionString - @SHORT_VERSION@ + 0.4.0 CFBundleVersion - @FULL_VERSION@ + 0.4.0.0 CFBundleInfoDictionaryVersion 6.0 CFBundleDocumentTypes @@ -28,7 +30,7 @@ CFBundleTypeRole Editor CFBundleTypeIconFile - measurements + measurements.incs LSItemContentTypes org.valentinaproject.vit @@ -42,7 +44,7 @@ CFBundleTypeRole Editor CFBundleTypeIconFile - measurements + measurements.icns LSItemContentTypes org.valentinaproject.vst @@ -53,5 +55,48 @@ Owner + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.text + public.xml + + UTTypeDescription + Valentina individual measurements + UTTypeIconFile + measurements.icns + UTTypeIdentifier + org.valentinaproject.vit + UTTypeTagSpecification + + public.filename-extension + + vit + + + + + UTTypeConformsTo + + public.text + public.xml + + UTTypeDescription + Valentina standard measurements + UTTypeIconFile + measurements.icns + UTTypeIdentifier + org.valentinaproject.vst + UTTypeTagSpecification + + public.filename-extension + + vst + + + + diff --git a/dist/macx/valentina/Info.plist b/dist/macx/valentina/Info.plist index 751f78785..b4e4c3f11 100755 --- a/dist/macx/valentina/Info.plist +++ b/dist/macx/valentina/Info.plist @@ -8,6 +8,8 @@ @ICON@ CFBundlePackageType APPL + LSMinimumSystemVersion + 10.6 NSHumanReadableCopyright © 2013-2015, Valentina project CFBundleSignature @@ -17,9 +19,9 @@ CFBundleIdentifier org.valentinaproject.@EXECUTABLE@ CFBundleShortVersionString - @SHORT_VERSION@ + 0.4.0 CFBundleVersion - @FULL_VERSION@ + 0.4.0.0 CFBundleInfoDictionaryVersion 6.0 CFBundleDocumentTypes @@ -42,7 +44,7 @@ CFBundleTypeRole Editor CFBundleTypeIconFile - measurements + measurements.icns LSItemContentTypes org.valentinaproject.vit @@ -56,7 +58,7 @@ CFBundleTypeRole Editor CFBundleTypeIconFile - measurements + measurements.icns LSItemContentTypes org.valentinaproject.vst @@ -67,5 +69,68 @@ Owner - + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.text + public.xml + + UTTypeDescription + Valentina pattern file + UTTypeIconFile + @ICON@ + UTTypeIdentifier + org.valentinaproject.val + UTTypeTagSpecification + + public.filename-extension + + val + + + + + UTTypeConformsTo + + public.text + public.xml + + UTTypeDescription + Valentina individual measurements + UTTypeIconFile + measurements.icns + UTTypeIdentifier + org.valentinaproject.vit + UTTypeTagSpecification + + public.filename-extension + + vit + + + + + UTTypeConformsTo + + public.text + public.xml + + UTTypeDescription + Valentina standard measurements + UTTypeIconFile + measurements.icns + UTTypeIdentifier + org.valentinaproject.vst + UTTypeTagSpecification + + public.filename-extension + + vst + + + + +