sac-route-portal-gpx-fx/manifest.json
Sebastian Hugentobler 7ea79b6f44
Don't crash if segments.geom is null.
Somtimes (for example https://www.sac-cas.ch/it/capanne-e-escursioni/portale-escursionistico-del-cas/albristhubel-6246/escursioni-con-le-racchette/von-matten-simmental-2785/)
segments.geom is null and the creation of the gpx xml subsequently fails.

If that is the case just ignore it and do not try to turn it into a
track segment.

Thanks to wizche for the report and fix!
2023-02-03 12:41:49 +01:00

34 lines
699 B
JSON

{
"manifest_version": 2,
"name": "SAC Route Portal GPX Downloader",
"version": "0.7",
"developer": {
"name": "Sebastian Hugentobler",
"url": "https://code.vanwa.ch/sebastian/sac-route-portal-gpx-fx"
},
"description": "Download gpx tracks from the sac route portal.",
"icons": {
"48": "icons/map.png"
},
"permissions": [
"activeTab",
"downloads",
"webRequest",
"webRequestBlocking",
"https://www.sac-cas.ch/*"
],
"background": {
"scripts": ["background.js"]
},
"browser_action": {
"default_icon": "icons/map.png",
"default_title": "To GPX"
}
}