mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 06:41:19 +00:00
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
|
"_comment": "Version 2.8.3 was moved to https://github.com/scoopinstaller/versions/blob/master/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"
|
|
}
|