Changeset 15915 in josm for trunk/macosx


Ignore:
Timestamp:
2020-02-23T19:11:30+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #13108 - see #18350 - registers *.geojson, *.jos, *.joz files on all platforms

Linux references:

File:
1 edited

Legend:

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

    r15550 r15915  
    3131        </dict>
    3232    </dict>
     33    <!-- Export JOSM session file format UTI (*.jos) -->
     34    <dict>
     35        <key>UTTypeIdentifier</key>
     36        <string>org.openstreetmap.josm.jos</string>
     37        <key>UTTypeDescription</key>
     38        <string>JOS File</string>
     39        <key>UTTypeIconFile</key>
     40        <string>JOSM.icns</string>
     41        <key>UTTypeConformsTo</key>
     42        <array>
     43            <string>public.xml</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>jos</string>
     52            </array>
     53            <key>public.mime-type</key>
     54            <string>application/x-josm-session+xml</string>
     55        </dict>
     56    </dict>
    3357    <!-- Export JOSM session file format UTI (*.joz) -->
    3458    <dict>
     
    5175                <string>joz</string>
    5276            </array>
     77            <key>public.mime-type</key>
     78            <string>application/x-josm-session+zip</string>
    5379        </dict>
    5480    </dict>
     
    148174        </array>
    149175    </dict>
     176    <!-- Registers opening *.jos files -->
     177    <dict>
     178        <key>CFBundleTypeIconFile</key>
     179        <string>JOSM.icns</string>
     180        <key>CFBundleTypeName</key>
     181        <string>JOS Files</string>
     182        <key>CFBundleTypeRole</key>
     183        <string>Editor</string>
     184        <key>LSHandlerRank</key>
     185        <string>Owner</string>
     186        <key>LSItemContentTypes</key>
     187        <array>
     188            <string>org.openstreetmap.josm.jos</string>
     189        </array>
     190    </dict>
    150191    <!-- Registers opening *.joz files -->
    151192    <dict>
Note: See TracChangeset for help on using the changeset viewer.