Open Gustry opened 3 years ago
#!/usr/bin/env bash
wget https://github.com/simonpoole/beautified-JOSM-preset/releases/download/2.12.0/vespucci_zip.zip -o /tmp/
unzip -o -d icons/josm/ /tmp/vespucci_zip.zip "*.png"
unzip -o -d JOSM_preset/ /tmp/vespucci_zip.zip "*.xml"
mv JOSM_preset/vespucci_preset.xml JOSM_preset/josm_preset.xml
mkdir /tmp/i18n/
unzip -o -d /tmp/i18n/ /tmp/vespucci_zip.zip "*.po"
zip -r /tmp/i18n.zip /tmp/i18n/
cp /tmp/i18n.zip .
I need to check between JOSM and Vespucci. The JOSM preset XML file is not in the ZIP where I can find PNG
We need to add a mechanism to update i18n files when the XML is updated, otherwise, it won't be synchronized
JOSM presets are released often, every months.
It would be nice to upgrade easily with a script or with CI
https://github.com/simonpoole/beautified-JOSM-preset/releases/tag/2.11.0