mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-16 05:31:21 +00:00
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"_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": {
|
|
"32bit": {
|
|
"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",
|
|
"}"
|
|
]
|
|
}
|