Changeset 14230 in josm for trunk/macosx


Ignore:
Timestamp:
2018-09-08T17:36:42+02:00 (6 years ago)
Author:
Don-vip
Message:

see #13108 - macOS: register .joz file type handler (patch by accek, see https://github.com/openstreetmap/josm/pull/26)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/JOSM.app/Contents/Info.plist_template.xml

    r11258 r14230  
    2929            <key>public.mime-type</key>
    3030            <string>application/x-osm+xml</string>
     31        </dict>
     32    </dict>
     33    <!-- Export JOSM session file format UTI (*.joz) -->
     34    <dict>
     35        <key>UTTypeIdentifier</key>
     36        <string>org.openstreetmap.josm.joz</string>
     37        <key>UTTypeDescription</key>
     38        <string>JOZ File</string>
     39        <key>UTTypeIconFile</key>
     40        <string>JOSM.icns</string>
     41        <key>UTTypeConformsTo</key>
     42        <array>
     43            <string>com.pkware.zip-archive</string>
     44        </array>
     45        <key>UTTypeTagSpecification</key>
     46        <dict>
     47            <key>com.apple.ostype</key>
     48            <string>JOSM</string>
     49            <key>public.filename-extension</key>
     50            <array>
     51                <string>joz</string>
     52            </array>
    3153        </dict>
    3254    </dict>
     
    104126        </array>
    105127    </dict>
     128    <!-- Registers opening *.joz files -->
     129    <dict>
     130        <key>CFBundleTypeIconFile</key>
     131        <string>JOSM.icns</string>
     132        <key>CFBundleTypeName</key>
     133        <string>JOZ Files</string>
     134        <key>CFBundleTypeRole</key>
     135        <string>Editor</string>
     136        <key>LSHandlerRank</key>
     137        <string>Owner</string>
     138        <key>LSItemContentTypes</key>
     139        <array>
     140            <string>org.openstreetmap.josm.joz</string>
     141        </array>
     142    </dict>
    106143    <!-- Registers opening *.gpx files -->
    107144    <dict>
Note: See TracChangeset for help on using the changeset viewer.