/
qgis.json
46 lines (46 loc) · 1.82 KB
/
qgis.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
38
39
40
41
42
43
44
45
46
{
"version": "3.34.1-2",
"description": "QGIS is a user friendly Open Source Geographic Information System",
"homepage": "https://qgis.org/",
"license": "GPL-2.0-or-later",
"notes": "For file associations, run 'reg import \"$dir\\apps\\qgis\\bin\\qgis.reg\"'",
"url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-3.34.1-2.msi",
"hash": "3c321cdbd0951119d5ab3058b208527b90b77227db6306b428601bd6868dcc9c",
"extract_dir": "QGIS 3.34.1",
"bin": "bin\\qgis-bin.exe",
"shortcuts": [
[
"bin\\qgis-bin.exe",
"QGIS Desktop"
]
],
"installer": {
"script": [
"$ApplicationProgramMenuFolder = \"$dir\\menu\"",
"$ApplicationDesktopFolder = \"$dir\\desktop\"",
"$INSTALLDESKTOPSHORTCUTS = 1",
"$INSTALLMENUSHORTCUTS = 1",
"$postinstlog = \"$dir\\postinstall.log\"",
"New-Item \"$dir\\apps\\qgis-ltr\\bin\\\" -ItemType Directory",
"New-Item \"$dir\\apps\\qgis-ltr\\bin\\qgis.reg\"",
"& $dir\\etc\\postinstall.bat \"$ApplicationProgramMenuFolder\" \"$ApplicationDesktopFolder\" \"$INSTALLDESKTOPSHORTCUTS\" \"$INSTALLMENUSHORTCUTS\" >\"$postinstlog\" 2>&1"
]
},
"uninstaller": {
"script": [
"$prermlog = \"$env:TEMP\\preremove.log\"",
"if (Test-Path $dir\\etc\\preremove.bat) { & $dir\\etc\\preremove.bat >\"$prermlog\" 2>&1 }"
]
},
"checkver": {
"url": "https://download.qgis.org/downloads/?C=N;O=D",
"regex": "<td><a href=\"QGIS-OSGeo4W-([\\d.-]+)\\.msi\""
},
"autoupdate": {
"url": "https://download.qgis.org/downloads/QGIS-OSGeo4W-$version.msi",
"hash": {
"url": "$baseurl/QGIS-OSGeo4W-$version.sha256sum"
},
"extract_dir": "QGIS $matchHead"
}
}