-
Notifications
You must be signed in to change notification settings - Fork 0
/
lynx.json
36 lines (36 loc) · 1.34 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
{
"_comment": "Version 2.8.3 was moved to https://github.com/rasa/versions/blob/master/nodejs4.json",
"version": "2.8.9dev.16",
"homepage": "http://invisible-island.net/lynx/lynx.html",
"architecture": {
"64bit": {
"url": "https://invisible-island.net/datafiles/current/lynx-newssl-setup.exe",
"hash": "d64fdbed6b470953e2504cdde0a58c6b68d0c600d39791380e855030abb2db56"
}
},
"bin": "lynx.cmd",
"innosetup": true,
"depends": [
"cacert",
"extras/vcredist2012",
"openssl"
],
"persist": [
"$dir/lynx.cfg"
],
"pre_install": [
"$q = [char]34",
"add-content \"$dir/lynx.cfg\" -value \"SSL_CERT_FILE:$(appdir openssl)/current/cacert.pem`n\"",
"add-content \"$dir/lynx.cfg\" -value \"FORCE_SSL_PROMPT:PROMPT`n\"",
"set-content \"$dir/lynx.cmd\" -value \"@$dir\\lynx.exe --cfg=$dir\\lynx.cfg %*\""
],
"post_install": [
"if (Test-Path \"$(appdir openssl)/current/libcrypto-1_1,1.dll\") {",
" cp \"$(appdir openssl)/current/libcrypto-1_1,1.dll\" \"$dir/libcrypto-1_1,1.dll\"",
" cp \"$(appdir openssl)/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",
"}"
]
}