1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

OMD Windows & Linux desktop integration

This commit is contained in:
Martin Tůma 2021-08-18 22:30:02 +02:00
parent 8d8a31eef9
commit accea5d9da
7 changed files with 42 additions and 24 deletions

View File

@ -510,7 +510,8 @@ win32 {
icons/formats/sqlt.ico \
icons/formats/ov2.ico \
icons/formats/itn.ico \
icons/formats/wld.ico
icons/formats/wld.ico \
icons/formats/omd.ico
DEFINES += _USE_MATH_DEFINES \
NOGDI
}

BIN
icons/formats/omd.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

View File

@ -25,3 +25,4 @@ sqlt:#303030
ov2:#a8c920
itn:#b8540d
wld:#c74c8f
omd:#ed09cb

View File

@ -14,8 +14,8 @@
<ul>
<li>Opens GPX, TCX, FIT, KML, IGC, NMEA, SIGMA SLF, Suunto SML, LOC,
OziExplorer (PLT, WPT, RTE), GeoJSON, SeeYou CUP,
Garmin GPI &amp; CSV, TomTom OV2 &amp; ITN and geotagged JPEG
files.</li>
Garmin GPI &amp; CSV, TomTom OV2 &amp; ITN, ONmove OMD
and geotagged JPEG files.</li>
<li>User-definable online maps (OpenStreetMap/Google tiles, WMTS,
WMS, TMS, QuadTiles).</li>
<li>Offline maps (MBTiles, OziExplorer maps, TrekBuddy maps/atlases,
@ -95,5 +95,6 @@
<mimetype>application/vnd.tomtom.ov2</mimetype>
<mimetype>application/vnd.tomtom.itn</mimetype>
<mimetype>application/vnd.esri.wld</mimetype>
<mimetype>application/vnd.onmove.omd</mimetype>
</mimetypes>
</component>

View File

@ -138,14 +138,15 @@ Section "GPXSee" SEC_APP
!insertmacro FILE_ASSOCIATION_ADD "gfw" "ESRI World File" 20
!insertmacro FILE_ASSOCIATION_ADD "pgw" "ESRI World File" 20
!insertmacro FILE_ASSOCIATION_ADD "tfw" "ESRI World File" 20
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 21
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 22
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 22
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 23
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 24
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 25
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 26
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 27
!insertmacro FILE_ASSOCIATION_ADD "omd" "ONmove Log File" 21
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 22
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 23
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 23
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 24
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 25
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 26
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 27
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 28
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
@ -189,6 +190,7 @@ Section "GPXSee" SEC_APP
WriteRegStr HKCR ".gfw\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".pgw\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".tfw\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".omd\OpenWithList" "GPXSee.exe" ""
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
@ -313,6 +315,7 @@ Section "Uninstall"
!insertmacro FILE_ASSOCIATION_REMOVE "gfw"
!insertmacro FILE_ASSOCIATION_REMOVE "pgw"
!insertmacro FILE_ASSOCIATION_REMOVE "tfw"
!insertmacro FILE_ASSOCIATION_REMOVE "omd"
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
@ -355,6 +358,7 @@ Section "Uninstall"
DeleteRegValue HKCR ".gfw\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".pgw\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tfw\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".omd\OpenWithList" "GPXSee.exe"
DeleteRegKey HKCR "Applications\GPXSee.exe"
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'

View File

@ -142,6 +142,13 @@
<glob pattern="*.itn"/>
</mime-type>
<mime-type type="application/vnd.onmove.omd">
<comment>ONmove Log File</comment>
<sub-class-of type="application/octet-stream"/>
<generic-icon name="application/octet-stream"/>
<glob pattern="*.omd"/>
</mime-type>
<!-- Maps -->
<mime-type type="application/vnd.garmin.img">

View File

@ -145,14 +145,15 @@ Section "GPXSee" SEC_APP
!insertmacro FILE_ASSOCIATION_ADD "gfw" "ESRI World File" 20
!insertmacro FILE_ASSOCIATION_ADD "pgw" "ESRI World File" 20
!insertmacro FILE_ASSOCIATION_ADD "tfw" "ESRI World File" 20
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 21
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 22
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 22
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 23
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 24
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 25
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 26
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 27
!insertmacro FILE_ASSOCIATION_ADD "omd" "ONmove Log File" 21
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 22
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 23
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 23
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 24
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 25
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 26
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 27
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 28
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
@ -196,6 +197,7 @@ Section "GPXSee" SEC_APP
WriteRegStr HKCR ".gfw\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".pgw\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".tfw\OpenWithList" "GPXSee.exe" ""
WriteRegStr HKCR ".omd\OpenWithList" "GPXSee.exe" ""
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
@ -336,6 +338,7 @@ Section "Uninstall"
!insertmacro FILE_ASSOCIATION_REMOVE "gfw"
!insertmacro FILE_ASSOCIATION_REMOVE "pgw"
!insertmacro FILE_ASSOCIATION_REMOVE "tfw"
!insertmacro FILE_ASSOCIATION_REMOVE "omd"
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
@ -378,6 +381,7 @@ Section "Uninstall"
DeleteRegValue HKCR ".gfw\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".pgw\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".tfw\OpenWithList" "GPXSee.exe"
DeleteRegValue HKCR ".omd\OpenWithList" "GPXSee.exe"
DeleteRegKey HKCR "Applications\GPXSee.exe"
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'