-
-
Notifications
You must be signed in to change notification settings - Fork 914
/
lynx.json
46 lines (46 loc) 路 1.83 KB
/
lynx.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
{
"_comment": "Version 2.8.3 was moved to https://github.com/ScoopInstaller/Versions/blob/master/bucket/lynx283.json",
"version": "2.9.0dev.1",
"description": "Fully featured World-Wide Web browser.",
"homepage": "https://invisible-island.net/lynx/lynx.html",
"license": "GPL-2.0-only",
"architecture": {
"32bit": {
"url": "https://invisible-island.net/datafiles/current/lynx-newssl-setup.exe",
"hash": "6de2b0bc8fbde7f59dc718d5583cfef58c752b4bb107b5332f56b8ebe7f3ab42"
}
},
"bin": "lynx.cmd",
"innosetup": true,
"depends": [
"cacert",
"openssl"
],
"suggest": {
"vcredist": "extras/vcredist2012"
},
"persist": "$dir/lynx.cfg",
"pre_install": [
"$q = [char]34",
"add-content \"$dir/lynx.cfg\" -value \"SSL_CERT_FILE:$(appdir openssl $global)/current/cacert.pem`n\"",
"add-content \"$dir/lynx.cfg\" -value \"FORCE_SSL_PROMPT:PROMPT`n\"",
"set-content \"$dir/lynx.cmd\" -value \"@$q$dir\\lynx.exe$q --cfg=$q$dir\\lynx.cfg$q %*\""
],
"post_install": [
"if (Test-Path \"$(appdir openssl $global)/current/libcrypto-1_1,1.dll\") {",
" cp \"$(appdir openssl $global)/current/libcrypto-1_1,1.dll\" \"$dir/libcrypto-1_1,1.dll\"",
" cp \"$(appdir openssl $global)/current/libssl-1_1,1.dll\" \"$dir/libssl-1_1,1.dll\"",
"} else {",
" echo 'lynx requires the 32-bit version of openssl to be installed'",
" exit 1",
"}"
],
"checkver": {
"url": "https://lynx.invisible-island.net/current/CHANGES",
"re": "[\\d-]{10}\\s+\\(([\\w.]+)\\)"
},
"autoupdate": {
"url": "https://invisible-island.net/datafiles/current/lynx-newssl-setup.exe"
},
"notes": "lynx requires the 32-bit version of openssl to be installed"
}