mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 22:31:19 +00:00
Currently, when installing erlang, scoop will return error because of url return HTTP status 503. This happens because of erlang switch the url to use https instead of http.
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"version": "24.1.2",
|
|
"description": "A programming language used to build massively scalable soft real-time systems with requirements on high availability.",
|
|
"homepage": "https://www.erlang.org",
|
|
"license": "Apache-2.0",
|
|
"suggest": {
|
|
"Visual C/C++ Redistributable 2013": "extras/vcredist2013"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://erlang.org/download/otp_win64_24.1.2.exe#/dl.7z",
|
|
"hash": "045ead7fa4aafa41a791f08e87da5acb816891f404fd518adb926209b7750ef3"
|
|
},
|
|
"32bit": {
|
|
"url": "https://erlang.org/download/otp_win32_24.1.2.exe#/dl.7z",
|
|
"hash": "7488c187d47c79ffc2d8fd5e79992dbbb02d290cc6edf88ce13b85a3003fe7fe"
|
|
}
|
|
},
|
|
"installer": {
|
|
"file": "Install.exe",
|
|
"args": "-sasl"
|
|
},
|
|
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall.exe.nsis\", \"$dir\\vcredist*\" -Force -Recurse",
|
|
"bin": [
|
|
"bin\\erl.exe",
|
|
"bin\\erlc.exe",
|
|
"bin\\escript.exe",
|
|
"bin\\werl.exe"
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"bin\\werl.exe",
|
|
"Erlang"
|
|
]
|
|
],
|
|
"env_set": {
|
|
"ERLANG_HOME": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://erlang.org/download/otp_versions_tree_app_vsns.html",
|
|
"regex": "otp_win64_([\\d.]+)\\.exe"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://erlang.org/download/otp_win64_$version.exe#/dl.7z"
|
|
},
|
|
"32bit": {
|
|
"url": "https://erlang.org/download/otp_win32_$version.exe#/dl.7z"
|
|
}
|
|
}
|
|
}
|
|
}
|