/
josm-generic.json
37 lines (37 loc) · 1.43 KB
/
josm-generic.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"version": "19067",
"description": "An extensible editor for OpenStreetMap",
"homepage": "https://josm.openstreetmap.de/",
"license": "GPL-2.0-or-later",
"suggest": {
"JRE with JFX": "java/zulufx21-jre"
},
"url": [
"https://josm.openstreetmap.de/download/josm-snapshot-19067.jar",
"https://raw.githubusercontent.com/openstreetmap/josm/master/native/windows/logo.ico"
],
"hash": [
"fa61d7f3496d20591558879ec79d7d6fce01633869fa1e39f7f0b6c250d1ee34",
"8fa65ecdf506316ce5630c9e55ff1bf245516527bfb774d5b1588f4a72bbebde"
],
"pre_install": [
"Push-Location",
"Set-Location $dir",
"Set-Content -Value \"@echo off`nif `\"%1`\" == `\"h`\" goto begin`nmshta vbscript:createobject(`\"wscript.shell`\").run(`\"%~nx0 h`\",0)(window.close)&&exit`n:begin`njavaw -D64 --add-exports=java.base/sun.security.action=ALL-UNNAMED --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED -jar $((Get-ChildItem josm*.jar)[0].Name)\" -Path josm.cmd",
"Pop-Location"
],
"shortcuts": [
[
"josm.cmd",
"JOSM",
"",
"logo.ico"
]
],
"checkver": {
"regex": "newest tested version, currently (\\d+)"
},
"autoupdate": {
"url": "https://josm.openstreetmap.de/download/josm-snapshot-$version.jar"
}
}