From 2012d0ead8564f6ab48d932e199ee076c2c6757d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 28 Jan 2019 09:05:30 +0100 Subject: [PATCH] GeoJSON integration, part 2 --- pkg/gpxsee.nsi | 17 +++++++++-------- pkg/gpxsee64.nsi | 19 ++++++++++--------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pkg/gpxsee.nsi b/pkg/gpxsee.nsi index 3f245f6c..90d4e747 100644 --- a/pkg/gpxsee.nsi +++ b/pkg/gpxsee.nsi @@ -106,17 +106,18 @@ Section "GPXSee" SEC_APP ; Associate file formats DetailPrint "Associating file types..." - !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 4 - !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 5 - !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 6 - !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 7 - !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 8 - !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 data" 9 - !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 10 - !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 11 + !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 5 + !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 6 + !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 7 + !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 8 + !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 9 + !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 data" 10 + !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 11 + !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 12 !insertmacro FILE_ASSOCIATION_ADD "wpt" "OziExplorer Waypoint File" 1 !insertmacro FILE_ASSOCIATION_ADD "loc" "Geocaching.com Waypoint File" 2 !insertmacro FILE_ASSOCIATION_ADD "slf" "Sigma Log File" 3 + !insertmacro FILE_ASSOCIATION_ADD "geojson" "GeoJSON" 4 System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd diff --git a/pkg/gpxsee64.nsi b/pkg/gpxsee64.nsi index ebc7f107..972f3bb9 100644 --- a/pkg/gpxsee64.nsi +++ b/pkg/gpxsee64.nsi @@ -113,17 +113,18 @@ Section "GPXSee" SEC_APP ; Associate file formats DetailPrint "Associating file types..." - !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 4 - !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 5 - !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 6 - !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 7 - !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 8 - !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 data" 9 - !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 10 - !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 11 + !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 5 + !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 6 + !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 7 + !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 8 + !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 9 + !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 data" 10 + !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 11 + !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 12 !insertmacro FILE_ASSOCIATION_ADD "wpt" "OziExplorer Waypoint File" 1 !insertmacro FILE_ASSOCIATION_ADD "loc" "Geocaching.com Waypoint File" 2 !insertmacro FILE_ASSOCIATION_ADD "slf" "Sigma Log File" 3 + !insertmacro FILE_ASSOCIATION_ADD "geojson" "GeoJSON" 4 System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd @@ -257,4 +258,4 @@ LangString DESC_LOCALIZATION ${LANG_ENGLISH} \ !insertmacro MUI_DESCRIPTION_TEXT ${SEC_MSVC} $(DESC_MSVC) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_APP} $(DESC_APP) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_LOCALIZATION} $(DESC_LOCALIZATION) -!insertmacro MUI_FUNCTION_DESCRIPTION_END +!insertmacro MUI_FUNCTION_DESCRIPTION_END \ No newline at end of file