mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Added GHP Linux & Windows desktop integration
This commit is contained in:
parent
814eceb82c
commit
9f6ced0342
@ -512,7 +512,8 @@ win32 {
|
|||||||
icons/formats/ov2.ico \
|
icons/formats/ov2.ico \
|
||||||
icons/formats/itn.ico \
|
icons/formats/itn.ico \
|
||||||
icons/formats/wld.ico \
|
icons/formats/wld.ico \
|
||||||
icons/formats/omd.ico
|
icons/formats/omd.ico \
|
||||||
|
icons/formats/ghp.ico
|
||||||
DEFINES += _USE_MATH_DEFINES \
|
DEFINES += _USE_MATH_DEFINES \
|
||||||
NOGDI
|
NOGDI
|
||||||
}
|
}
|
||||||
|
BIN
icons/formats/ghp.ico
Normal file
BIN
icons/formats/ghp.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 304 KiB |
@ -26,3 +26,4 @@ ov2:#a8c920
|
|||||||
itn:#b8540d
|
itn:#b8540d
|
||||||
wld:#c74c8f
|
wld:#c74c8f
|
||||||
omd:#ed09cb
|
omd:#ed09cb
|
||||||
|
ghp:#ed09cb
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Opens GPX, TCX, FIT, KML, IGC, NMEA, SIGMA SLF, Suunto SML, LOC,
|
<li>Opens GPX, TCX, FIT, KML, IGC, NMEA, SIGMA SLF, Suunto SML, LOC,
|
||||||
OziExplorer (PLT, WPT, RTE), GeoJSON, SeeYou CUP,
|
OziExplorer (PLT, WPT, RTE), GeoJSON, SeeYou CUP,
|
||||||
Garmin GPI & CSV, TomTom OV2 & ITN, ONmove OMD
|
Garmin GPI & CSV, TomTom OV2 & ITN, ONmove OMD/GHP
|
||||||
and geotagged JPEG files.</li>
|
and geotagged JPEG files.</li>
|
||||||
<li>User-definable online maps (OpenStreetMap/Google tiles, WMTS,
|
<li>User-definable online maps (OpenStreetMap/Google tiles, WMTS,
|
||||||
WMS, TMS, QuadTiles).</li>
|
WMS, TMS, QuadTiles).</li>
|
||||||
@ -96,5 +96,6 @@
|
|||||||
<mimetype>application/vnd.tomtom.itn</mimetype>
|
<mimetype>application/vnd.tomtom.itn</mimetype>
|
||||||
<mimetype>application/vnd.esri.wld</mimetype>
|
<mimetype>application/vnd.esri.wld</mimetype>
|
||||||
<mimetype>application/vnd.onmove.omd</mimetype>
|
<mimetype>application/vnd.onmove.omd</mimetype>
|
||||||
|
<mimetype>application/vnd.onmove.ghp</mimetype>
|
||||||
</mimetypes>
|
</mimetypes>
|
||||||
</component>
|
</component>
|
||||||
|
@ -138,15 +138,16 @@ Section "GPXSee" SEC_APP
|
|||||||
!insertmacro FILE_ASSOCIATION_ADD "gfw" "ESRI World File" 20
|
!insertmacro FILE_ASSOCIATION_ADD "gfw" "ESRI World File" 20
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "pgw" "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 "tfw" "ESRI World File" 20
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "omd" "ONmove Log File" 21
|
!insertmacro FILE_ASSOCIATION_ADD "omd" "ONmove Log File" 21
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 22
|
!insertmacro FILE_ASSOCIATION_ADD "ghp" "ONmove Log File" 22
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 23
|
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 23
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 23
|
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 24
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 24
|
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 24
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 25
|
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 25
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 26
|
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 26
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 27
|
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 27
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 28
|
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 28
|
||||||
|
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 29
|
||||||
|
|
||||||
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
||||||
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
|
||||||
@ -191,6 +192,7 @@ Section "GPXSee" SEC_APP
|
|||||||
WriteRegStr HKCR ".pgw\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".pgw\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".tfw\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".tfw\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".omd\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".omd\OpenWithList" "GPXSee.exe" ""
|
||||||
|
WriteRegStr HKCR ".ghp\OpenWithList" "GPXSee.exe" ""
|
||||||
|
|
||||||
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
||||||
|
|
||||||
@ -316,6 +318,7 @@ Section "Uninstall"
|
|||||||
!insertmacro FILE_ASSOCIATION_REMOVE "pgw"
|
!insertmacro FILE_ASSOCIATION_REMOVE "pgw"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "tfw"
|
!insertmacro FILE_ASSOCIATION_REMOVE "tfw"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "omd"
|
!insertmacro FILE_ASSOCIATION_REMOVE "omd"
|
||||||
|
!insertmacro FILE_ASSOCIATION_REMOVE "ghp"
|
||||||
|
|
||||||
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
||||||
@ -359,6 +362,7 @@ Section "Uninstall"
|
|||||||
DeleteRegValue HKCR ".pgw\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".pgw\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".tfw\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".tfw\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".omd\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".omd\OpenWithList" "GPXSee.exe"
|
||||||
|
DeleteRegValue HKCR ".ghp\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegKey HKCR "Applications\GPXSee.exe"
|
DeleteRegKey HKCR "Applications\GPXSee.exe"
|
||||||
|
|
||||||
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
||||||
|
@ -149,6 +149,13 @@
|
|||||||
<glob pattern="*.omd"/>
|
<glob pattern="*.omd"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/vnd.onmove.ghp">
|
||||||
|
<comment>ONmove Log File</comment>
|
||||||
|
<sub-class-of type="application/octet-stream"/>
|
||||||
|
<generic-icon name="application/octet-stream"/>
|
||||||
|
<glob pattern="*.ghp"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
<!-- Maps -->
|
<!-- Maps -->
|
||||||
|
|
||||||
<mime-type type="application/vnd.garmin.img">
|
<mime-type type="application/vnd.garmin.img">
|
||||||
|
@ -145,15 +145,16 @@ Section "GPXSee" SEC_APP
|
|||||||
!insertmacro FILE_ASSOCIATION_ADD "gfw" "ESRI World File" 20
|
!insertmacro FILE_ASSOCIATION_ADD "gfw" "ESRI World File" 20
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "pgw" "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 "tfw" "ESRI World File" 20
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "omd" "ONmove Log File" 21
|
!insertmacro FILE_ASSOCIATION_ADD "omd" "ONmove Log File" 21
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 22
|
!insertmacro FILE_ASSOCIATION_ADD "ghp" "ONmove Log File" 22
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 23
|
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 23
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 23
|
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 24
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 24
|
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 24
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 25
|
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 25
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 26
|
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 26
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 27
|
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 27
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 28
|
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 28
|
||||||
|
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 29
|
||||||
|
|
||||||
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\""
|
||||||
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""
|
||||||
@ -198,6 +199,7 @@ Section "GPXSee" SEC_APP
|
|||||||
WriteRegStr HKCR ".pgw\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".pgw\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".tfw\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".tfw\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".omd\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".omd\OpenWithList" "GPXSee.exe" ""
|
||||||
|
WriteRegStr HKCR ".ghp\OpenWithList" "GPXSee.exe" ""
|
||||||
|
|
||||||
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
||||||
|
|
||||||
@ -339,6 +341,7 @@ Section "Uninstall"
|
|||||||
!insertmacro FILE_ASSOCIATION_REMOVE "pgw"
|
!insertmacro FILE_ASSOCIATION_REMOVE "pgw"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "tfw"
|
!insertmacro FILE_ASSOCIATION_REMOVE "tfw"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "omd"
|
!insertmacro FILE_ASSOCIATION_REMOVE "omd"
|
||||||
|
!insertmacro FILE_ASSOCIATION_REMOVE "ghp"
|
||||||
|
|
||||||
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
||||||
@ -382,6 +385,7 @@ Section "Uninstall"
|
|||||||
DeleteRegValue HKCR ".pgw\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".pgw\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".tfw\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".tfw\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".omd\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".omd\OpenWithList" "GPXSee.exe"
|
||||||
|
DeleteRegValue HKCR ".ghp\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegKey HKCR "Applications\GPXSee.exe"
|
DeleteRegKey HKCR "Applications\GPXSee.exe"
|
||||||
|
|
||||||
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)'
|
||||||
|
Loading…
Reference in New Issue
Block a user