mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Added sqlite maps Windows & Linux desktop integration
This commit is contained in:
parent
a2390ae26f
commit
c6b1109d89
@ -470,7 +470,8 @@ win32 {
|
|||||||
icons/formats/mbts.ico \
|
icons/formats/mbts.ico \
|
||||||
icons/formats/rmap.ico \
|
icons/formats/rmap.ico \
|
||||||
icons/formats/tba.ico \
|
icons/formats/tba.ico \
|
||||||
icons/formats/aqm.ico
|
icons/formats/aqm.ico \
|
||||||
|
icons/formats/sqlt.ico
|
||||||
DEFINES += _USE_MATH_DEFINES \
|
DEFINES += _USE_MATH_DEFINES \
|
||||||
NOGDI
|
NOGDI
|
||||||
}
|
}
|
||||||
|
@ -21,3 +21,4 @@ mbts:#ff0062
|
|||||||
rmap:#145cba
|
rmap:#145cba
|
||||||
tba:#367050
|
tba:#367050
|
||||||
aqm:#32a89e
|
aqm:#32a89e
|
||||||
|
sqlt:#303030
|
||||||
|
BIN
icons/formats/sqlt.ico
Normal file
BIN
icons/formats/sqlt.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 300 KiB |
@ -88,5 +88,6 @@
|
|||||||
<mimetype>image/tiff</mimetype>
|
<mimetype>image/tiff</mimetype>
|
||||||
<mimetype>application/vnd.google-earth.kmz</mimetype>
|
<mimetype>application/vnd.google-earth.kmz</mimetype>
|
||||||
<mimetype>application/vnd.alpinequest.aqm</mimetype>
|
<mimetype>application/vnd.alpinequest.aqm</mimetype>
|
||||||
|
<mimetype>application/vnd.rmaps.sqlite</mimetype>
|
||||||
</mimetypes>
|
</mimetypes>
|
||||||
</component>
|
</component>
|
||||||
|
@ -14,5 +14,5 @@ Exec=gpxsee %F
|
|||||||
Icon=gpxsee
|
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
|
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.rmaps.sqlite
|
||||||
|
@ -127,14 +127,15 @@ Section "GPXSee" SEC_APP
|
|||||||
!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
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "aqm" "AlpineQuest Map File" 16
|
!insertmacro FILE_ASSOCIATION_ADD "aqm" "AlpineQuest Map File" 16
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 17
|
!insertmacro FILE_ASSOCIATION_ADD "sqlitedb" "RMAps SQLite Map File" 17
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 18
|
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 18
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 18
|
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 19
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 19
|
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 19
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 20
|
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 20
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 21
|
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 21
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 22
|
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 22
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 23
|
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 23
|
||||||
|
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 24
|
||||||
|
|
||||||
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" ""
|
||||||
@ -170,6 +171,7 @@ Section "GPXSee" SEC_APP
|
|||||||
WriteRegStr HKCR ".xml\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".xml\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".kmz\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".kmz\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".aqm\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".aqm\OpenWithList" "GPXSee.exe" ""
|
||||||
|
WriteRegStr HKCR ".sqlitedb\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)'
|
||||||
|
|
||||||
@ -283,6 +285,7 @@ Section "Uninstall"
|
|||||||
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
|
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "kmz"
|
!insertmacro FILE_ASSOCIATION_REMOVE "kmz"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "aqm"
|
!insertmacro FILE_ASSOCIATION_REMOVE "aqm"
|
||||||
|
!insertmacro FILE_ASSOCIATION_REMOVE "sqlitedb"
|
||||||
|
|
||||||
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
||||||
@ -317,6 +320,7 @@ Section "Uninstall"
|
|||||||
DeleteRegValue HKCR ".xml\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".xml\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".kmz\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".kmz\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".aqm\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".aqm\OpenWithList" "GPXSee.exe"
|
||||||
|
DeleteRegValue HKCR ".sqlitedb\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)'
|
||||||
|
@ -230,4 +230,11 @@
|
|||||||
<glob pattern="*.aqm"/>
|
<glob pattern="*.aqm"/>
|
||||||
</mime-type>
|
</mime-type>
|
||||||
|
|
||||||
|
<mime-type type="application/vnd.rmaps.sqlite">
|
||||||
|
<comment>RMaps SQLite Map File</comment>
|
||||||
|
<sub-class-of type="application/vnd.sqlite3"/>
|
||||||
|
<generic-icon name="application/octet-stream"/>
|
||||||
|
<glob pattern="*.sqlitedb"/>
|
||||||
|
</mime-type>
|
||||||
|
|
||||||
</mime-info>
|
</mime-info>
|
||||||
|
@ -134,14 +134,15 @@ Section "GPXSee" SEC_APP
|
|||||||
!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
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "aqm" "AlpineQuest Map File" 16
|
!insertmacro FILE_ASSOCIATION_ADD "aqm" "AlpineQuest Map File" 16
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 17
|
!insertmacro FILE_ASSOCIATION_ADD "sqlitedb" "RMaps SQLite Map File" 17
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 18
|
!insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 18
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 18
|
!insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 19
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 19
|
!insertmacro FILE_ASSOCIATION_ADD "kmz" "KML geographic compressed data" 19
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 20
|
!insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 20
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 21
|
!insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 21
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 22
|
!insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 22
|
||||||
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 23
|
!insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 23
|
||||||
|
!insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 24
|
||||||
|
|
||||||
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" ""
|
||||||
@ -177,6 +178,7 @@ Section "GPXSee" SEC_APP
|
|||||||
WriteRegStr HKCR ".xml\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".xml\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".kmz\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".kmz\OpenWithList" "GPXSee.exe" ""
|
||||||
WriteRegStr HKCR ".aqm\OpenWithList" "GPXSee.exe" ""
|
WriteRegStr HKCR ".aqm\OpenWithList" "GPXSee.exe" ""
|
||||||
|
WriteRegStr HKCR ".sqlitedb\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)'
|
||||||
|
|
||||||
@ -305,6 +307,7 @@ Section "Uninstall"
|
|||||||
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
|
!insertmacro FILE_ASSOCIATION_REMOVE "tba"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "kmz"
|
!insertmacro FILE_ASSOCIATION_REMOVE "kmz"
|
||||||
!insertmacro FILE_ASSOCIATION_REMOVE "aqm"
|
!insertmacro FILE_ASSOCIATION_REMOVE "aqm"
|
||||||
|
!insertmacro FILE_ASSOCIATION_REMOVE "sqlitedb"
|
||||||
|
|
||||||
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe"
|
||||||
@ -339,6 +342,7 @@ Section "Uninstall"
|
|||||||
DeleteRegValue HKCR ".xml\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".xml\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".kmz\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".kmz\OpenWithList" "GPXSee.exe"
|
||||||
DeleteRegValue HKCR ".aqm\OpenWithList" "GPXSee.exe"
|
DeleteRegValue HKCR ".aqm\OpenWithList" "GPXSee.exe"
|
||||||
|
DeleteRegValue HKCR ".sqlitedb\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