forked from Ash258/Shovel-Ash258
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Glip.json
40 lines (40 loc) · 1.51 KB
/
Glip.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
{
"version": "20.4.30",
"description": "RingCentral Glip. Collaborative team messaging app",
"homepage": "https://glip.com",
"license": {
"identifier": "Proprietary",
"url": "https://www.ringcentral.com/legal/eulatos.html"
},
"architecture": {
"64bit": {
"url": "http://downloads.ringcentral.com/glip/rc/20.4.30/x64/RingCentral%20Classic-20.4.30-x64.exe#/cosi.7z",
"hash": "04e51bc76cb9da03000f82c5d022bfea73e68fe704cf1d26e0ff73e28a8e8def"
}
},
"installer": {
"script": [
"$files = Get-ChildItem $dir",
"$files | Where-Object -Property Name -Notlike -Value 'Glip-*full.nupkg' | Remove-Item",
"($files | Where-Object -Property Name -Like -Value 'Glip-*full.nupkg').Fullname | Expand-7zipArchive -DestinationPath $dir -ExtractDir 'lib\\net45' -Removal",
"Remove-Item \"$dir\\Update.exe\""
]
},
"shortcuts": [
[
"RingCentral Classic.exe",
"RingCentral Glip"
]
],
"checkver": {
"script": "(Invoke-WebRequest -UseBasicParsing -Uri 'https://downloads.ringcentral.com/glip/rc/GlipForWindows64' -Method Head).BaseResponse.RequestMessage.RequestUri.AbsolutePath",
"regex": "/glip/rc/([\\d.]+)/"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://downloads.ringcentral.com/glip/rc/$version/x64/RingCentral%20Classic-$version-x64.exe#/cosi.7z"
}
}
}
}