forked from chawyehsu/dorado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adiirc.json
63 lines (63 loc) · 1.93 KB
/
adiirc.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"homepage": "https://www.adiirc.com/",
"description": "AdiIRC is a free Internet Relay Chat (IRC) client.",
"version": "4.4",
"license": "Freeware",
"architecture": {
"64bit": {
"url": "https://www.adiirc.com/AdiIRC64_4.4.zip",
"hash": "529643df5740a39502277e0861c8f211aac89e63e6d91d27c7bdc83c71851294"
},
"32bit": {
"url": "https://www.adiirc.com/AdiIRC_4.4.zip",
"hash": "69bacc41eb1bf7e977fa3ceee0bf1782b6e6d931e3c0640a12f4e24dc81175ad"
}
},
"installer": {
"script": [
"function CreateFile([String] $file, [String] $content = $null) {",
" if (!(Test-Path \"$persist_dir\\$file\")) {",
" New-Item -Force -Path \"$persist_dir\\$file\" -ItemType file -Value $content | Out-Null",
" }",
"}",
"CreateFile 'commands.ini'",
"CreateFile 'config.ini'"
]
},
"uninstaller": {
"script": [
"function BackupFile([String] $file) {",
" if (!(Test-Path \"$persist_dir\\$file\")) {",
" Remove-Item \"$persist_dir\\$file\" -Force",
" }",
" Move-Item \"$dir\\$file\" \"$persist_dir\" -Force",
"}",
"BackupFile 'commands.ini'",
"BackupFile 'config.ini'"
]
},
"shortcuts": [
[
"AdiIRC.exe",
"AdiIRC"
]
],
"persist": [
"commands.ini",
"config.ini"
],
"checkver": {
"url": "https://www.adiirc.com/download.php",
"regex": "Latest stable:.*?>AdiIRC ([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://www.adiirc.com/AdiIRC64_$version.zip"
},
"32bit": {
"url": "https://www.adiirc.com/AdiIRC_$version.zip"
}
}
}
}