mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-28 19:41:19 +00:00
62 lines
2.5 KiB
JSON
62 lines
2.5 KiB
JSON
{
|
|
"version": "4.4.6414.6401",
|
|
"description": "Tools for building packages for R under Microsoft Windows, or for building R itself.",
|
|
"homepage": "https://cloud.r-project.org/bin/windows/Rtools",
|
|
"license": "BSD-3-Clause",
|
|
"notes": [
|
|
"For R 3.3.x to 3.6.x, please use 'versions/rtools35'.",
|
|
"For R 4.0.x to 4.1.x, please use 'versions/rtools40'.",
|
|
"For R 4.2.x, please use 'versions/rtools42'.",
|
|
"For R 4.3.x, please use 'versions/rtools43'."
|
|
],
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-6414-6401.exe",
|
|
"hash": "9f85720d2a38a207a03eeed6b1856855e7f136cc61b40cf96b0138be879cee65"
|
|
},
|
|
"arm64": {
|
|
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-aarch64-6414-6401.exe",
|
|
"hash": "d263cf88135ad0ac7917c35dbc3831053ca9f89ccb585f1c8fb72ae57b6a9f2a"
|
|
}
|
|
},
|
|
"innosetup": true,
|
|
"installer": {
|
|
"script": [
|
|
"if (Test-Path 'C:\\rtools44') {",
|
|
" if ($null -eq (Get-Item 'C:\\rtools44').LinkType) {",
|
|
" Rename-Item -Path 'C:\\rtools44' -NewName 'rtools44.old' -Force",
|
|
" } else {",
|
|
" Remove-Item -Path 'C:\\rtools44' -Force",
|
|
" }",
|
|
"}",
|
|
"New-Item -Path \"$dir\\tmp\" -ItemType Directory | Out-Null",
|
|
"New-Item -Path 'C:\\rtools44' -Target \"$dir\" -ItemType Junction | Out-Null"
|
|
]
|
|
},
|
|
"uninstaller": {
|
|
"script": [
|
|
"if ((Test-Path 'C:\\rtools44') -and ($null -ne (Get-Item 'C:\\rtools44').LinkType)) {",
|
|
" Remove-Item -Path 'C:\\rtools44' -Force",
|
|
"}",
|
|
"if (Test-Path 'C:\\rtools44.old') {",
|
|
" Rename-Item -Path 'C:\\rtools44.old' -NewName 'rtools44' -Force",
|
|
"}"
|
|
]
|
|
},
|
|
"checkver": {
|
|
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools44/files/",
|
|
"regex": ">rtools44\\-(\\d+)\\-(\\d+).exe<",
|
|
"replace": "4.4.${1}.${2}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-$match1-$match2.exe"
|
|
},
|
|
"arm64": {
|
|
"url": "https://cloud.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-aarch64-$match1-$match2.exe"
|
|
}
|
|
}
|
|
}
|
|
}
|