diff --git a/gpxsee.pro b/gpxsee.pro index bd81a084..21e92f54 100644 --- a/gpxsee.pro +++ b/gpxsee.pro @@ -408,7 +408,8 @@ win32 { icons/formats/slf.ico \ icons/formats/json.ico \ icons/formats/cup.ico \ - icons/formats/gpi.ico + icons/formats/gpi.ico \ + icons/formats/sml.ico DEFINES += _USE_MATH_DEFINES \ NOGDI } diff --git a/icons/scripts/extensions b/icons/scripts/extensions index 3d1350bf..7cdaa12c 100644 --- a/icons/scripts/extensions +++ b/icons/scripts/extensions @@ -12,3 +12,4 @@ loc:#556677 slf:#881199 cup:#20a810 gpi:#fca314 +sml:#6434eb diff --git a/pkg/gpxsee.nsi b/pkg/gpxsee.nsi index 12cf1a01..63c1dd02 100644 --- a/pkg/gpxsee.nsi +++ b/pkg/gpxsee.nsi @@ -106,20 +106,21 @@ Section "GPXSee" SEC_APP ; Associate file formats DetailPrint "Associating file types..." - !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 7 - !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 8 - !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 9 - !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 10 - !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 11 - !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 12 - !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 13 - !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 14 + !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 8 + !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 9 + !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 10 + !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 11 + !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 12 + !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 13 + !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 14 + !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 15 !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 !insertmacro FILE_ASSOCIATION_ADD "cup" "SeeYou CUP File" 5 !insertmacro FILE_ASSOCIATION_ADD "gpi" "Garmin POI File" 6 + !insertmacro FILE_ASSOCIATION_ADD "sml" "Suunto Markup Language" 7 System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd @@ -232,6 +233,7 @@ Section "Uninstall" !insertmacro FILE_ASSOCIATION_REMOVE "geojson" !insertmacro FILE_ASSOCIATION_REMOVE "cup" !insertmacro FILE_ASSOCIATION_REMOVE "gpi" + !insertmacro FILE_ASSOCIATION_REMOVE "sml" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd @@ -262,4 +264,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 diff --git a/pkg/gpxsee.xml b/pkg/gpxsee.xml index ea8bc329..d5f10506 100644 --- a/pkg/gpxsee.xml +++ b/pkg/gpxsee.xml @@ -98,4 +98,11 @@ + + + Suunto Markup Language + + + + diff --git a/pkg/gpxsee64.nsi b/pkg/gpxsee64.nsi index 0e195dde..8d2fd859 100644 --- a/pkg/gpxsee64.nsi +++ b/pkg/gpxsee64.nsi @@ -113,20 +113,21 @@ Section "GPXSee" SEC_APP ; Associate file formats DetailPrint "Associating file types..." - !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 7 - !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 8 - !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 9 - !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 10 - !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 11 - !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 12 - !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 13 - !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 14 + !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 8 + !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 9 + !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 10 + !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 11 + !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 12 + !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 13 + !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 14 + !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 15 !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 !insertmacro FILE_ASSOCIATION_ADD "cup" "SeeYou CUP File" 5 !insertmacro FILE_ASSOCIATION_ADD "gpi" "Garmin POI File" 6 + !insertmacro FILE_ASSOCIATION_ADD "sml" "Suunto Markup Language" 7 System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd @@ -235,6 +236,7 @@ Section "Uninstall" !insertmacro FILE_ASSOCIATION_REMOVE "geojson" !insertmacro FILE_ASSOCIATION_REMOVE "cup" !insertmacro FILE_ASSOCIATION_REMOVE "gpi" + !insertmacro FILE_ASSOCIATION_REMOVE "sml" System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' SectionEnd @@ -265,4 +267,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