-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
ultravnc.json
48 lines (48 loc) 路 1.99 KB
/
ultravnc.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
47
48
{
"version": "1.4.3.5",
"description": "UltraVNC Server and Viewer can display the screen of one computer (Server) on the screen of another (Viewer).",
"homepage": "https://uvnc.com",
"license": "GPL-3.0-or-later",
"url": "https://uvnc.com/component/jdownloads/send/0-/459-ultravnc-1-4-35-bin-zip.html?Itemid=0#/dl.zip",
"hash": "b5135801deacafc3edcbcc6cd77be2d892a55b62691d776a42db7e781485e600",
"architecture": {
"64bit": {
"extract_dir": "x64"
},
"32bit": {
"extract_dir": "x86"
}
},
"bin": [
"vncviewer.exe",
"winvnc.exe"
],
"shortcuts": [
[
"vncviewer.exe",
"VNC Viewer"
],
[
"winvnc.exe",
"WinVNC"
]
],
"checkver": {
"script": [
"$uvnc_release_resp = Invoke-WebRequest -Uri 'https://uvnc.com/downloads/ultravnc.html'",
"$uvnc_release_page = $uvnc_release_resp.Links | Where-Object href -match '/downloads/ultravnc/(\\d+)' | Select-Object -first 1 -expand href",
"$uvnc_artifact_url = 'https://uvnc.com' + $uvnc_release_page",
"$uvnc_artifact_resp = Invoke-WebRequest -Uri $uvnc_artifact_url",
"$uvnc_artifact_summary_url = $uvnc_artifact_resp.Links | Where-Object href -match '/(\\d+)-ultravnc-(\\d+)-(\\d+)-(\\d)(\\d)-bin-zip.html' | Select-Object -first 1 -expand href",
"$scriptver = $matches[2] + '.' + $matches[3] + '.' + $matches[4] + '.' + $matches[5]",
"$artifact_version = $matches[2] + '-' + $matches[3] + '-' + $matches[4] + $matches[5]",
"$filenum = $matches[1]",
"$download_path = $filenum + '-ultravnc-' + $artifact_version + '-bin-zip.html?Itemid=0'",
"Write-Output $scriptver $download_path"
],
"regex": "(?<version>[\\d.]+)\\s(?<dlquerypath>.+)"
},
"autoupdate": {
"url": "https://uvnc.com/component/jdownloads/send/0-/$matchDlquerypath#/dl.zip"
}
}