linsui 2982417624 Erlang: Extract first to avoid sudo (#322)
* Erlang: Extract first to avoid sudo

* Update erlang.json
2019-08-19 14:05:54 -07:00

54 lines
1.5 KiB
JSON

{
"homepage": "https://www.erlang.org",
"description": "A programming language used to build massively scalable soft real-time systems with requirements on high availability.",
"version": "22.0",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "http://erlang.org/download/otp_win64_22.0.exe#/dl.7z",
"hash": "md5:f457e8aeda344a6743b2862feab16871"
},
"32bit": {
"url": "http://erlang.org/download/otp_win32_22.0.exe#/dl.7z",
"hash": "md5:2641d07ea5f6e723d56457a5d2ba82c2"
}
},
"installer": {
"file": "Install.exe",
"args": "-sasl"
},
"bin": [
"bin\\erl.exe",
"bin\\erlc.exe",
"bin\\escript.exe"
],
"env_set": {
"ERLANG_HOME": "$dir"
},
"shortcuts": [
[
"bin\\werl.exe",
"Erlang"
]
],
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"checkver": {
"url": "https://www.erlang.org/downloads",
"regex": "DOWNLOAD\\s+OTP ([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://erlang.org/download/otp_win64_$version.exe#/dl.7z"
},
"32bit": {
"url": "http://erlang.org/download/otp_win32_$version.exe#/dl.7z"
}
},
"hash": {
"url": "$baseurl/MD5",
"regex": "MD5\\($basename\\)= $md5"
}
}
}