mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Properly associate .gmi files
This commit is contained in:
parent
7860ce8acc
commit
acc9d07a22
@ -111,5 +111,6 @@
|
|||||||
<mimetype>application/vnd.iho.s57-data</mimetype>
|
<mimetype>application/vnd.iho.s57-data</mimetype>
|
||||||
<mimetype>application/vnd.iho.s57-catalogue</mimetype>
|
<mimetype>application/vnd.iho.s57-catalogue</mimetype>
|
||||||
<mimetype>application/vnd.gpsdump.wpt</mimetype>
|
<mimetype>application/vnd.gpsdump.wpt</mimetype>
|
||||||
|
<mimetype>application/vnd.gpstuner.gmi</mimetype>
|
||||||
</mimetypes>
|
</mimetypes>
|
||||||
</component>
|
</component>
|
||||||
|
@ -16,4 +16,4 @@ Icon=gpxsee
|
|||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Graphics;Viewer;Education;Geography;Maps;Sports;Qt
|
Categories=Graphics;Viewer;Education;Geography;Maps;Sports;Qt
|
||||||
MimeType=application/gpx+xml;application/vnd.garmin.tcx+xml;application/vnd.ant.fit;application/vnd.google-earth.kml+xml;application/vnd.fai.igc;application/vnd.nmea.nmea;application/vnd.oziexplorer.plt;application/vnd.oziexplorer.rte;application/vnd.oziexplorer.wpt;application/vnd.groundspeak.loc+xml;application/vnd.sigma.slf+xml;application/geo+json;application/vnd.naviter.seeyou.cup;application/vnd.garmin.gpi;application/vnd.suunto.sml+xml;image/jpeg;text/csv;application/vnd.garmin.img;application/vnd.garmin.jnx;application/vnd.garmin.gmap+xml;image/vnd.maptech.kap;application/vnd.oziexplorer.map;application/vnd.mapbox.mbtiles;application/vnd.twonav.rmap;application/vnd.trekbuddy.tba;application/vnd.gpxsee.map+xml;application/x-tar;image/tiff;application/vnd.google-earth.kmz;application/vnd.alpinequest.aqm;application/vnd.cgtk.gemf;application/vnd.rmaps.sqlite;application/vnd.osmdroid.sqlite;application/vnd.mapsforge.map;application/vnd.tomtom.ov2;application/vnd.tomtom.itn;application/vnd.esri.wld;application/vnd.onmove.omd;application/vnd.onmove.ghp;application/vnd.memory-map.qct;application/vnd.twonav.trk;application/vnd.twonav.rte;application/vnd.twonav.wpt;application/vnd.orux.map+xml;application/vnd.iho.s57-data;application/vnd.iho.s57-catalogue;application/vnd.gpsdump.wpt
|
MimeType=application/gpx+xml;application/vnd.garmin.tcx+xml;application/vnd.ant.fit;application/vnd.google-earth.kml+xml;application/vnd.fai.igc;application/vnd.nmea.nmea;application/vnd.oziexplorer.plt;application/vnd.oziexplorer.rte;application/vnd.oziexplorer.wpt;application/vnd.groundspeak.loc+xml;application/vnd.sigma.slf+xml;application/geo+json;application/vnd.naviter.seeyou.cup;application/vnd.garmin.gpi;application/vnd.suunto.sml+xml;image/jpeg;text/csv;application/vnd.garmin.img;application/vnd.garmin.jnx;application/vnd.garmin.gmap+xml;image/vnd.maptech.kap;application/vnd.oziexplorer.map;application/vnd.mapbox.mbtiles;application/vnd.twonav.rmap;application/vnd.trekbuddy.tba;application/vnd.gpxsee.map+xml;application/x-tar;image/tiff;application/vnd.google-earth.kmz;application/vnd.alpinequest.aqm;application/vnd.cgtk.gemf;application/vnd.rmaps.sqlite;application/vnd.osmdroid.sqlite;application/vnd.mapsforge.map;application/vnd.tomtom.ov2;application/vnd.tomtom.itn;application/vnd.esri.wld;application/vnd.onmove.omd;application/vnd.onmove.ghp;application/vnd.memory-map.qct;application/vnd.twonav.trk;application/vnd.twonav.rte;application/vnd.twonav.wpt;application/vnd.orux.map+xml;application/vnd.iho.s57-data;application/vnd.iho.s57-catalogue;application/vnd.gpsdump.wpt;application/vnd.gpstuner.gmi
|
||||||
|
@ -363,4 +363,14 @@
|
|||||||
<glob pattern="*.031"/>
|
<glob pattern="*.031"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/vnd.gpstuner.gmi">
|
||||||
|
<comment>GPS Tuner Map Calibration File</comment>
|
||||||
|
<sub-class-of type="text/plain"/>
|
||||||
|
<generic-icon name="text/plain"/>
|
||||||
|
<magic>
|
||||||
|
<match type="string" offset="0" value="Map Calibration data file"/>
|
||||||
|
</magic>
|
||||||
|
<glob pattern="*.gmi"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
</mime-info>
|
</mime-info>
|
||||||
|
@ -417,6 +417,22 @@
|
|||||||
<key>CFBundleTypeRole</key>
|
<key>CFBundleTypeRole</key>
|
||||||
<string>Viewer</string>
|
<string>Viewer</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>gmi</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeMIMETypes</key>
|
||||||
|
<array>
|
||||||
|
<string>application/vnd.gpstuner.gmi</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>icons/map.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>GPS Tuner Map Calibration File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Viewer</string>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleTypeExtensions</key>
|
<key>CFBundleTypeExtensions</key>
|
||||||
<array>
|
<array>
|
||||||
@ -1252,6 +1268,29 @@
|
|||||||
<string>application/vnd.oziexplorer.map</string>
|
<string>application/vnd.oziexplorer.map</string>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>UTTypeIdentifier</key>
|
||||||
|
<string>com.gpstuner.gmi</string>
|
||||||
|
<key>UTTypeReferenceURL</key>
|
||||||
|
<string>https://github.com/tumic0/GPXSee/blob/master/src/map/gmifile.cpp</string>
|
||||||
|
<key>UTTypeDescription</key>
|
||||||
|
<string>GPS Tuner Map Calibration File</string>
|
||||||
|
<key>UTTypeIconFile</key>
|
||||||
|
<string>icons/map.icns</string>
|
||||||
|
<key>UTTypeConformsTo</key>
|
||||||
|
<array>
|
||||||
|
<string>public.data</string>
|
||||||
|
</array>
|
||||||
|
<key>UTTypeTagSpecification</key>
|
||||||
|
<dict>
|
||||||
|
<key>public.filename-extension</key>
|
||||||
|
<array>
|
||||||
|
<string>gmi</string>
|
||||||
|
</array>
|
||||||
|
<key>public.mime-type</key>
|
||||||
|
<string>application/vnd.gpstuner.gmi</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>UTTypeIdentifier</key>
|
<key>UTTypeIdentifier</key>
|
||||||
<string>com.mapbox.mbtiles</string>
|
<string>com.mapbox.mbtiles</string>
|
||||||
|
@ -163,6 +163,7 @@ Section "GPXSee" SEC_APP
|
|||||||
!insertmacro FILE_ASSOCIATION_ADD "kap" "BSB Nautical Chart" 10
|
!insertmacro FILE_ASSOCIATION_ADD "kap" "BSB Nautical Chart" 10
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 11
|
!insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 11
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "map" "OziExplorer Map File" 12
|
!insertmacro FILE_ASSOCIATION_ADD "map" "OziExplorer Map File" 12
|
||||||
|
!insertmacro FILE_ASSOCIATION_ADD "gmi" "GPS Tuner Map Calibration File" 12
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "mbtiles" "MBTiles Map File" 13
|
!insertmacro FILE_ASSOCIATION_ADD "mbtiles" "MBTiles Map File" 13
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "rmap" "TwoNav Raster Map File" 14
|
!insertmacro FILE_ASSOCIATION_ADD "rmap" "TwoNav Raster Map File" 14
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "tba" "TrekBuddy Atlas" 15
|
!insertmacro FILE_ASSOCIATION_ADD "tba" "TrekBuddy Atlas" 15
|
||||||
@ -218,6 +219,7 @@ Section "GPXSee" SEC_APP
|
|||||||
WriteRegStr HKCR ".jnx\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".jnx\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".kap\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".kap\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".map\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".map\OpenWithList" "GPXSee.exe" ""
|
||||||
|
WriteRegStr HKCR ".gmi\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".mbtiles\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".mbtiles\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".rmap\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".rmap\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".rtmap\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".rtmap\OpenWithList" "GPXSee.exe" ""
|
||||||
@ -384,6 +386,7 @@ Section "Uninstall"
|
|||||||
!insertmacro FILE_ASSOCIATION_REMOVE "jnx"
|
!insertmacro FILE_ASSOCIATION_REMOVE "jnx"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "kap"
|
!insertmacro FILE_ASSOCIATION_REMOVE "kap"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "map"
|
!insertmacro FILE_ASSOCIATION_REMOVE "map"
|
||||||
|
!insertmacro FILE_ASSOCIATION_REMOVE "gmi"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "mbtiles"
|
!insertmacro FILE_ASSOCIATION_REMOVE "mbtiles"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "rmap"
|
!insertmacro FILE_ASSOCIATION_REMOVE "rmap"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
|
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
|
||||||
@ -431,6 +434,7 @@ Section "Uninstall"
|
|||||||
DeleteRegValue HKCR ".jnx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".jnx\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".kap\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".kap\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".map\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".map\OpenWithList" "GPXSee.exe"
|
||||||
|
DeleteRegValue HKCR ".gmi\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".mbtiles\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".mbtiles\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".rmap\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".rmap\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".rtmap\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".rtmap\OpenWithList" "GPXSee.exe"
|
||||||
|
Loading…
Reference in New Issue
Block a user