R: add au.hash (#329)

This commit is contained in:
linsui 2019-08-16 16:25:38 +08:00 committed by Hsiao-nan Cheung
parent f2ed9d7e35
commit 07e3800ba7

View File

@ -3,24 +3,49 @@
"description": "A free software environment for statistical computing and graphics.", "description": "A free software environment for statistical computing and graphics.",
"version": "3.6.1", "version": "3.6.1",
"license": "GPL-2.0-only", "license": "GPL-2.0-only",
"url": "https://cloud.r-project.org/bin/windows/base/R-3.6.1-win.exe",
"hash": "md5:f6ca2ecfc66a10a196991b6b6c4e91f6",
"innosetup": true,
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://cran.rstudio.com/bin/windows/base/R-3.6.1-win.exe", "pre_install": "Rename-Item \"$dir\\bin\\R,2.exe\" 'R.exe'",
"hash": "8019bdc376ed22c657b2441d15f2b9c6f9507fbffe896534fc2d364021f1c930", "bin": [
"pre_install": "copy-item -recurse \"$dir\\bin\\x64\" \"$dir\\bin\\curr_arch\"" "bin\\x64\\R.exe",
"bin\\x64\\Rcmd.exe",
"bin\\x64\\Rgui.exe",
"bin\\x64\\Rscript.exe",
"bin\\x64\\Rterm.exe"
],
"shortcuts": [
[
"bin\\x64\\Rgui.exe",
"R"
]
]
}, },
"32bit": { "32bit": {
"url": "https://cran.rstudio.com/bin/windows/base/R-3.6.1-win.exe", "pre_install": "Rename-Item \"$dir\\bin\\R,1.exe\" 'R.exe'",
"hash": "8019bdc376ed22c657b2441d15f2b9c6f9507fbffe896534fc2d364021f1c930", "bin": [
"pre_install": "copy-item -recurse \"$dir\\bin\\i386\" \"$dir\\bin\\curr_arch\"" "bin\\i386\\R.exe",
"bin\\i386\\Rcmd.exe",
"bin\\i386\\Rgui.exe",
"bin\\i386\\Rscript.exe",
"bin\\i386\\Rterm.exe"
],
"shortcuts": [
[
"bin\\i386\\Rgui.exe",
"R"
]
]
} }
}, },
"innosetup": true, "installer": {
"bin": [ "script": [
"bin\\curr_arch\\r.exe", "Remove-Item \"$dir\\bin\\R,*.exe\" -Force",
"bin\\curr_arch\\rterm.exe", "Copy-Item \"$dir\\bin\\R.exe\" \"$dir\\bin\\Rscript.exe\""
"bin\\curr_arch\\rscript.exe" ]
], },
"notes": [ "notes": [
"You'll need to type 'r.ps1' or 'r.cmd' to run R, because in Powershell 'r' runs the last command. Alternatively 'rterm' can be used to start the interactive R terminal session.", "You'll need to type 'r.ps1' or 'r.cmd' to run R, because in Powershell 'r' runs the last command. Alternatively 'rterm' can be used to start the interactive R terminal session.",
"", "",
@ -32,17 +57,13 @@
"Annoying, right?! You might want to check out Pshazz (scoop install pshazz)--this has a plugin to remove some crazy aliases from Powershell, as well as many other improvements." "Annoying, right?! You might want to check out Pshazz (scoop install pshazz)--this has a plugin to remove some crazy aliases from Powershell, as well as many other improvements."
], ],
"checkver": { "checkver": {
"url": "https://cran.rstudio.com/bin/windows/base/", "url": "https://cloud.r-project.org/bin/windows/base/md5sum.txt",
"re": "<h1>R-([\\d.]+)" "regex": "R-([\\d.]+)"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "url": "https://cloud.r-project.org/bin/windows/base/R-$version-win.exe",
"64bit": { "hash": {
"url": "https://cran.rstudio.com/bin/windows/base/R-$version-win.exe" "url": "$baseurl/md5sum.txt"
},
"32bit": {
"url": "https://cran.rstudio.com/bin/windows/base/R-$version-win.exe"
}
} }
} }
} }