forked from ScoopInstaller/Versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rstudio-preview.json
47 lines (47 loc) · 1.89 KB
/
rstudio-preview.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"version": "2022.07.2+576",
"description": "An IDE for R with console, syntax-highlighting, editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.",
"homepage": "https://www.rstudio.com",
"license": "AGPL-3.0-only",
"notes": "For 32bit, please install 'versions/rstudio11",
"depends": "r",
"architecture": {
"64bit": {
"url": "https://s3.amazonaws.com/rstudio-ide-build/desktop/windows/RStudio-2022.07.2-576.exe#/dl.7z",
"hash": "b38bf925e1cddda04bfae18492991cc980c0b4227b49fa0f3ce39c44c368fdd6",
"post_install": [
"Remove-Item \"$dir\\`$*\" -Recurse",
"if (!(Test-Path \"$env:Appdata\\RStudio\")) {",
" New-Item \"$env:Appdata\\RStudio\" -ItemType Directory -Force | Out-Null",
" @(",
" '[General]'",
" \"RBinDir=`\"$(appdir r $global)\\current\\bin\\x64`\"\".Replace('\\', '/')",
" ) | Add-Content -Path \"$env:Appdata\\RStudio\\desktop.ini\" -Encoding UTF8 -Force",
"}"
]
}
},
"bin": "bin\\rstudio.exe",
"shortcuts": [
[
"bin\\rstudio.exe",
"RStudio Preview"
]
],
"checkver": {
"url": "https://www.rstudio.com/products/rstudio/download/preview/",
"regex": "windows/RStudio-([\\d.]+)-(\\d+)\\.exe",
"replace": "${1}+${2}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://s3.amazonaws.com/rstudio-ide-build/desktop/windows/RStudio-$match1-$match2.exe#/dl.7z",
"hash": {
"url": "https://www.rstudio.com/products/rstudio/download/preview/",
"regex": "(?s)/windows/.*?exe.*?$sha256"
}
}
}
}
}